lizzie
2 weeks ago
committed by
crueter
No known key found for this signature in database
GPG Key ID: 425ACD2D4830EBC6
3 changed files with
9 additions and
0 deletions
-
CMakeLists.txt
-
docs/Options.md
-
src/CMakeLists.txt
|
|
@ -66,6 +66,9 @@ if (YUZU_STATIC_ROOM) |
|
|
set(fmt_FORCE_BUNDLED ON) |
|
|
set(fmt_FORCE_BUNDLED ON) |
|
|
endif() |
|
|
endif() |
|
|
|
|
|
|
|
|
|
|
|
# my unity/jumbo build |
|
|
|
|
|
option(ENABLE_UNITY_BUILD "Enable Unity/Jumbo build" OFF) |
|
|
|
|
|
|
|
|
# qt stuff |
|
|
# qt stuff |
|
|
option(ENABLE_QT "Enable the Qt frontend" ON) |
|
|
option(ENABLE_QT "Enable the Qt frontend" ON) |
|
|
option(ENABLE_QT_TRANSLATION "Enable translations for the Qt frontend" OFF) |
|
|
option(ENABLE_QT_TRANSLATION "Enable translations for the Qt frontend" OFF) |
|
|
|
|
|
@ -40,6 +40,7 @@ These options control dependencies. |
|
|
- This option is subject for removal. |
|
|
- This option is subject for removal. |
|
|
- `YUZU_TESTS` (ON) Compile tests - requires Catch2 |
|
|
- `YUZU_TESTS` (ON) Compile tests - requires Catch2 |
|
|
- `ENABLE_LTO` (OFF) Enable link-time optimization |
|
|
- `ENABLE_LTO` (OFF) Enable link-time optimization |
|
|
|
|
|
- `ENABLE_UNITY_BUILD` (OFF) Enables "Unity/Jumbo" builds |
|
|
- Not recommended on Windows |
|
|
- Not recommended on Windows |
|
|
- UNIX may be better off appending `-flto=thin` to compiler args |
|
|
- UNIX may be better off appending `-flto=thin` to compiler args |
|
|
- `USE_FASTER_LINKER` (OFF) Check if a faster linker is available |
|
|
- `USE_FASTER_LINKER` (OFF) Check if a faster linker is available |
|
|
|
|
|
@ -7,6 +7,11 @@ |
|
|
# Enable modules to include each other's files |
|
|
# Enable modules to include each other's files |
|
|
include_directories(.) |
|
|
include_directories(.) |
|
|
|
|
|
|
|
|
|
|
|
if (ENABLE_UNITY_BUILD) |
|
|
|
|
|
set(CMAKE_UNITY_BUILD ON) |
|
|
|
|
|
set(CMAKE_UNITY_BUILD_BATCH_SIZE 5000) |
|
|
|
|
|
endif() |
|
|
|
|
|
|
|
|
# Dynarmic |
|
|
# Dynarmic |
|
|
if (ARCHITECTURE_x86_64 OR ARCHITECTURE_arm64 AND NOT YUZU_STATIC_ROOM) |
|
|
if (ARCHITECTURE_x86_64 OR ARCHITECTURE_arm64 AND NOT YUZU_STATIC_ROOM) |
|
|
add_subdirectory(dynarmic) |
|
|
add_subdirectory(dynarmic) |
|
|
|