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)