2023-02-03 23:33:37 +01:00
|
|
|
cmake_minimum_required(VERSION 3.12)
|
|
|
|
|
|
|
|
project(doompanning)
|
|
|
|
|
|
|
|
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
|
|
|
|
|
|
|
## Create binaries in the root of the build directory
|
|
|
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
|
2023-02-12 03:32:02 +01:00
|
|
|
set(CMAKE_VERBOSE_MAKEFILE ON CACHE BOOL "ON")
|
2023-02-03 23:33:37 +01:00
|
|
|
|
|
|
|
add_subdirectory(external)
|
2023-02-18 11:27:13 +01:00
|
|
|
|
|
|
|
|
|
|
|
# Way too much. Have to exclude the imgui implementation files at least. Also
|
|
|
|
# not sure if the .clang-tidy file is picked up. Probably best to pass it on the
|
|
|
|
# command line using "${CMAKE_SOURCE_DIR}/.clang-tidy".
|
|
|
|
#set(CMAKE_C_CLANG_TIDY clang-tidy -p ${CMAKE_BINARY_DIR})
|
|
|
|
#set(CMAKE_CXX_CLANG_TIDY clang-tidy -p ${CMAKE_BINARY_DIR})
|
|
|
|
|
2023-02-03 23:33:37 +01:00
|
|
|
add_subdirectory(src)
|