aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
blob: 4b6f7ba5ea06ff3378fd5bee017d1bf50cabc0f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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)