diff options
author | rtk0c <[email protected]> | 2021-03-27 23:01:07 -0700 |
---|---|---|
committer | rtk0c <[email protected]> | 2021-03-27 23:01:07 -0700 |
commit | 442d2d75d71bbc057e667edc301a79fa1cc813be (patch) | |
tree | b5d1e5068a4d481bc6bcd72dca851ac7a85bf7e4 /CMakeLists.txt |
Initial setup
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..4b6f7ba --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,18 @@ +cmake_minimum_required(VERSION 3.5) +project(Cplt LANGUAGES CXX) + +option(FORCE_COLORED_OUTPUT "Always produce ANSI-colored output (GNU/Clang only)." ON) +if(FORCE_COLORED_OUTPUT) + if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU") + add_compile_options(-fdiagnostics-color=always) + elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang") + add_compile_options(-fcolor-diagnostics) + endif() +endif() + +include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake) +conan_basic_setup() + +add_subdirectory(3rdparty/imgui) +add_subdirectory(3rdparty/imnodes) +add_subdirectory(core) |