-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
186 changed files
with
6,720 additions
and
5,194 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 |
---|---|---|
|
@@ -86,4 +86,8 @@ Generated\ Files/ | |
*.pidb | ||
*.svclog | ||
*.scc | ||
*.VC.db | ||
*.VC.db | ||
|
||
|
||
# Node.js modules | ||
node_modules |
Empty file.
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
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
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
2 changes: 1 addition & 1 deletion
2
CmakeHelpers/functionsAddCompilerFlags.cmake → CMakeHelpers/functionsAddCompilerFlags.cmake
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
cmake_minimum_required(VERSION 2.8) | ||
cmake_minimum_required(VERSION 3.0) | ||
|
||
include(CheckCXXCompilerFlag) | ||
|
||
|
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 |
---|---|---|
@@ -1,14 +1,27 @@ | ||
cmake_minimum_required(VERSION 3.8) | ||
|
||
if(POLICY CMP0054) | ||
cmake_policy(SET CMP0054 NEW) | ||
endif() | ||
|
||
include(./CMakeHelpers/setVariables.cmake) | ||
project(genesis_all) | ||
|
||
include(./CMakeHelpers/addBoost.cmake) | ||
include(./CMakeHelpers/functions.cmake) | ||
include(./CMakeHelpers/functionsAddCompilerFlags.cmake) | ||
|
||
add_subdirectory(externals) | ||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D \"FMT_HEADER_ONLY\" -D \"SPDLOG_FMT_EXTERNAL\"") | ||
|
||
if( (NOT "${FMT_LIB_INCLUDE}" STREQUAL "") AND (NOT "${FMT_LIB}" STREQUAL "") AND (NOT "${SPDLOG_LIB_INCLUDE}" STREQUAL "") AND (NOT "${SPDLOG_LIB}" STREQUAL "") AND (NOT "${ESSENTIALS_LIB_INCLUDE}" STREQUAL "") AND (NOT "${ESSENTIALS_LIB}" STREQUAL "") ) | ||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D \"SPDLOG_FMT_EXTERNAL\"") | ||
message(STATUS "essentials library, libfmt or spdlog paths provided by user.") | ||
else() | ||
if(EXISTS "${PROJECT_SOURCE_DIR}/build/conan_toolchain.cmake") | ||
message(STATUS "Using Conan.") | ||
set(SPDLOG_FMT_EXTERNAL ON CACHE BOOL "") | ||
else() | ||
message(STATUS "Conan CMake file not present. Conan is not used.") | ||
endif() | ||
endif() | ||
|
||
add_subdirectory(genesis) | ||
add_subdirectory(examples) | ||
|
||
if(GEN_BUILD_EXAMPLES AND EXISTS "${PROJECT_SOURCE_DIR}/examples") | ||
message(STATUS "Build examples.") | ||
add_subdirectory(examples) | ||
endif() |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.