Browse Source
[externals] Explicitly capture DYNARMIC_TESTS prior to initial call
Signed-off-by: crueter <crueter@eden-emu.dev>
pull/143/head
crueter
7 months ago
No known key found for this signature in database
GPG Key ID: 425ACD2D4830EBC6
3 changed files with
4 additions and
1 deletions
-
externals/CMakeLists.txt
-
externals/nx_tzdb/CMakeLists.txt
-
src/dynarmic/CMakeLists.txt
|
|
@ -7,6 +7,9 @@ |
|
|
# cpm |
|
|
# cpm |
|
|
include(CPM) |
|
|
include(CPM) |
|
|
|
|
|
|
|
|
|
|
|
# Explicitly declare this option here to propagate to the oaknut CPM call |
|
|
|
|
|
option(DYNARMIC_TESTS "Build tests" ${BUILD_TESTING}) |
|
|
|
|
|
|
|
|
# Dynarmic has cmake_minimum_required(3.12) and we may want to override |
|
|
# Dynarmic has cmake_minimum_required(3.12) and we may want to override |
|
|
# some of its variables, which is only possible in 3.13+ |
|
|
# some of its variables, which is only possible in 3.13+ |
|
|
set(CMAKE_POLICY_DEFAULT_CMP0077 NEW) |
|
|
set(CMAKE_POLICY_DEFAULT_CMP0077 NEW) |
|
|
|
|
|
@ -49,6 +49,7 @@ if ((NOT CAN_BUILD_NX_TZDB OR YUZU_DOWNLOAD_TIME_ZONE_DATA) AND NOT EXISTS ${NX_ |
|
|
DESTINATION |
|
|
DESTINATION |
|
|
${NX_TZDB_ROMFS_DIR}) |
|
|
${NX_TZDB_ROMFS_DIR}) |
|
|
elseif (CAN_BUILD_NX_TZDB AND NOT YUZU_DOWNLOAD_TIME_ZONE_DATA) |
|
|
elseif (CAN_BUILD_NX_TZDB AND NOT YUZU_DOWNLOAD_TIME_ZONE_DATA) |
|
|
|
|
|
# TODO(crueter): this sucked to do with cpm, see if i can get it to work again |
|
|
add_subdirectory(tzdb_to_nx) |
|
|
add_subdirectory(tzdb_to_nx) |
|
|
add_dependencies(nx_tzdb x80e) |
|
|
add_dependencies(nx_tzdb x80e) |
|
|
|
|
|
|
|
|
|
|
|
@ -17,7 +17,6 @@ option(DYNARMIC_ENABLE_CPU_FEATURE_DETECTION "Turning this off causes dynarmic t |
|
|
option(DYNARMIC_ENABLE_NO_EXECUTE_SUPPORT "Enables support for systems that require W^X" OFF) |
|
|
option(DYNARMIC_ENABLE_NO_EXECUTE_SUPPORT "Enables support for systems that require W^X" OFF) |
|
|
option(DYNARMIC_FATAL_ERRORS "Errors are fatal" OFF) |
|
|
option(DYNARMIC_FATAL_ERRORS "Errors are fatal" OFF) |
|
|
option(DYNARMIC_IGNORE_ASSERTS "Ignore asserts" OFF) |
|
|
option(DYNARMIC_IGNORE_ASSERTS "Ignore asserts" OFF) |
|
|
option(DYNARMIC_TESTS "Build tests" ${BUILD_TESTING}) |
|
|
|
|
|
option(DYNARMIC_TESTS_USE_UNICORN "Enable fuzzing tests against unicorn" OFF) |
|
|
option(DYNARMIC_TESTS_USE_UNICORN "Enable fuzzing tests against unicorn" OFF) |
|
|
option(DYNARMIC_USE_LLVM "Support disassembly of jitted x86_64 code using LLVM" OFF) |
|
|
option(DYNARMIC_USE_LLVM "Support disassembly of jitted x86_64 code using LLVM" OFF) |
|
|
option(DYNARMIC_USE_PRECOMPILED_HEADERS "Use precompiled headers" ON) |
|
|
option(DYNARMIC_USE_PRECOMPILED_HEADERS "Use precompiled headers" ON) |
|
|
|