Compare commits

..

2 commits

Author SHA1 Message Date
4d94b10501 CMakeLists: build deprecated Corrade/Magnum for debug only. 2022-04-24 16:41:22 +02:00
3f580f77db CMakeLists: enable ANSI colours for Utility::Debug.
Will only have an impact in debug builds, though, due to output being
redirected to a file in release mode.
2022-04-24 16:40:27 +02:00

View file

@ -29,7 +29,12 @@ set(WITH_INTERCONNECT ON CACHE BOOL "" FORCE)
set(WITH_PLUGINMANAGER OFF CACHE BOOL "" FORCE)
set(WITH_TESTSUITE OFF CACHE BOOL "" FORCE)
set(WITH_MAIN ON CACHE BOOL "" FORCE)
if(CMAKE_BUILD_TYPE STREQUAL Debug)
set(BUILD_DEPRECATED ON CACHE BOOL "" FORCE)
elseif(CMAKE_BUILD_TYPE STREQUAL Release)
set(BUILD_DEPRECATED OFF CACHE BOOL "" FORCE)
endif()
set(UTILITY_USE_ANSI_COLORS ON CACHE BOOL "" FORCE)
add_subdirectory(third-party/corrade EXCLUDE_FROM_ALL)
set(DIRECTX OFF CACHE BOOL "" FORCE) # We use OpenGL.