|
|
@ -14,12 +14,24 @@ endif() |
|
|
|
|
|
|
|
|
# Dynarmic project options |
|
|
# Dynarmic project options |
|
|
option(DYNARMIC_ENABLE_CPU_FEATURE_DETECTION "Turning this off causes dynarmic to assume the host CPU doesn't support anything later than SSE3" ON) |
|
|
option(DYNARMIC_ENABLE_CPU_FEATURE_DETECTION "Turning this off causes dynarmic to assume the host CPU doesn't support anything later than SSE3" ON) |
|
|
option(DYNARMIC_ENABLE_NO_EXECUTE_SUPPORT "Enables support for systems that require W^X" OFF) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (PLATFORM_OPENBSD) |
|
|
|
|
|
option(DYNARMIC_ENABLE_NO_EXECUTE_SUPPORT "Enables support for systems that require W^X" ON) |
|
|
|
|
|
else() |
|
|
|
|
|
option(DYNARMIC_ENABLE_NO_EXECUTE_SUPPORT "Enables support for systems that require W^X" OFF) |
|
|
|
|
|
endif() |
|
|
|
|
|
|
|
|
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_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) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (PLATFORM_OPENBSD) |
|
|
|
|
|
option(DYNARMIC_USE_PRECOMPILED_HEADERS "Use precompiled headers" OFF) |
|
|
|
|
|
else() |
|
|
|
|
|
option(DYNARMIC_USE_PRECOMPILED_HEADERS "Use precompiled headers" ON) |
|
|
|
|
|
endif() |
|
|
|
|
|
|
|
|
option(DYNARMIC_INSTALL "Install dynarmic headers and CMake files" OFF) |
|
|
option(DYNARMIC_INSTALL "Install dynarmic headers and CMake files" OFF) |
|
|
option(DYNARMIC_USE_BUNDLED_EXTERNALS "Use all bundled externals (useful when e.g. cross-compiling)" OFF) |
|
|
option(DYNARMIC_USE_BUNDLED_EXTERNALS "Use all bundled externals (useful when e.g. cross-compiling)" OFF) |
|
|
option(DYNARMIC_WARNINGS_AS_ERRORS "Warnings as errors" ${MASTER_PROJECT}) |
|
|
option(DYNARMIC_WARNINGS_AS_ERRORS "Warnings as errors" ${MASTER_PROJECT}) |
|
|
|