20 lines
838 B
CMake
20 lines
838 B
CMake
cmake_minimum_required(VERSION 3.10)
|
|
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}")
|
|
project(yaw-audio)
|
|
add_subdirectory("lib")
|
|
add_subdirectory("src") |