This commit is contained in:
Erik Fröjdh
2024-10-25 10:23:34 +02:00
parent ae71e23dd2
commit b1b020ad60
20 changed files with 2417 additions and 0 deletions

6
cmake/helpers.cmake Normal file
View File

@ -0,0 +1,6 @@
function(default_build_type val)
if (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
message(STATUS "No build type selected, default to Release")
set(CMAKE_BUILD_TYPE ${val} CACHE STRING "Build type (default ${val})" FORCE)
endif()
endfunction()