mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-12-30 23:40:51 +01:00
20 lines
703 B
CMake
20 lines
703 B
CMake
|
|
||
|
include(${CMAKE_SOURCE_DIR}/cmake/common_build_flags.cmake)
|
||
|
|
||
|
# All projects need to reference the WIL headers
|
||
|
include_directories(${CMAKE_SOURCE_DIR}/include)
|
||
|
|
||
|
# TODO: Might be worth trying to conditionally do this on SDK version, assuming there's a semi-easy way to detect that
|
||
|
include_directories(BEFORE SYSTEM ./workarounds/wrl)
|
||
|
|
||
|
# The build pipelines have limitations that local development environments do not, so turn a few knobs
|
||
|
if (${FAST_BUILD})
|
||
|
replace_cxx_flag("/GR" "/GR-") # Disables RTTI
|
||
|
add_definitions(-DCATCH_CONFIG_FAST_COMPILE -DWIL_FAST_BUILD)
|
||
|
endif()
|
||
|
|
||
|
add_subdirectory(app)
|
||
|
add_subdirectory(cpplatest)
|
||
|
add_subdirectory(noexcept)
|
||
|
add_subdirectory(normal)
|