2022-08-07 20:16:52 +00:00
|
|
|
cmake_minimum_required(VERSION 3.10)
|
2022-08-16 13:47:12 +00:00
|
|
|
set(CMAKE_CXX_STANDARD 20)
|
|
|
|
|
|
|
|
#include(CMakePrintHelpers)
|
|
|
|
|
|
|
|
|
|
|
|
# Runtime checks are not compatiable
|
|
|
|
#string(REGEX REPLACE "/RTC(su|[1su])" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
|
|
|
|
#string(REGEX REPLACE "/RTC(su|[1su])" "" CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}")
|
|
|
|
#string(REGEX REPLACE "/RTC(su|[1su])" "" CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
|
|
|
|
#string(REGEX REPLACE "/RTC(su|[1su])" "" CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}")
|
|
|
|
#cmake_print_variables(CMAKE_C_FLAGS)
|
|
|
|
#cmake_print_variables(CMAKE_C_FLAGS_DEBUG)
|
|
|
|
|
|
|
|
# Exception handling should use C++ standard stack unwinding
|
|
|
|
#string(REGEX REPLACE "/EHs" "/EHa" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
|
|
|
|
#string(REGEX REPLACE "/EHs" "/EHa" CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}")
|
2022-08-07 20:16:52 +00:00
|
|
|
project(yaw-audio)
|
2022-08-07 21:14:11 +00:00
|
|
|
add_subdirectory("lib")
|
2022-08-07 20:16:52 +00:00
|
|
|
add_subdirectory("src")
|