-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(setup): add basis CMakeLists.txt
- Loading branch information
Showing
3 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
if (${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR}) | ||
message(FATAL_ERROR "Prevented in-tree build. Please create a build directory outside of the source code and call cmake from there") | ||
endif () | ||
|
||
cmake_minimum_required(VERSION 3.14) | ||
|
||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON) | ||
|
||
file(STRINGS "VERSION.md" VERSION_NB) | ||
|
||
project(antara-gaming-sdk | ||
VERSION ${VERSION_NB} | ||
DESCRIPTION "Blockchain gaming sdk" | ||
LANGUAGES CXX) | ||
|
||
if (NOT "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") | ||
message(FATAL_ERROR "Only Clang is supported (minimum LLVM 8.0)") | ||
endif() | ||
|
||
add_subdirectory(modules) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0.0.1 |
Empty file.