Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,14 @@ set(MUSE_APP_BUILD_MODE "dev" CACHE STRING "Build mode")
# - testing - for testing versions (alpha, beta, RC)
# - release - for stable release builds

# Consumer applications own these options and must declare them on their side.
# The standalone framework build is the application here, and deliberately
# builds with PCH and unity OFF: every source stays self-contained (see #256),
# so CI catches missing includes and Qt module links that PCH or unity batches
# would mask.
option(MUSE_COMPILE_USE_PCH "Use precompiled headers." OFF)
option(MUSE_COMPILE_USE_UNITY "Use unity build." OFF)

include(${MUSE_FRAMEWORK_SRC_PATH}/cmake/MuseDeclareOptions.cmake)

###########################################
Expand Down
1 change: 0 additions & 1 deletion framework/cmake/MuseDeclareOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ option(MUSE_CONFIGURATION_IS_WEB "Configuration is web" OFF)

# === Build options ===
option(MUSE_COMPILE_ASAN "Enable Address Sanitizer" OFF)
option(MUSE_COMPILE_USE_PCH "Use precompiled headers." ON)

# === Debug options ===
option(MUSE_COMPILE_STRING_DEBUG_HACK "Enable string debug hack (only clang)" ON)
Expand Down