mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-07 06:40:16 -05:00
050f891d81
Since it can be set in the environment when running the test suite, guard tests which are sensitive to intermediate directory strategy changes with explicit settings.
26 lines
525 B
CMake
26 lines
525 B
CMake
set(CMAKE_INTERMEDIATE_DIR_STRATEGY FULL CACHE STRING "" FORCE)
|
|
|
|
enable_language(CXX)
|
|
|
|
add_library(install-bmi)
|
|
target_sources(install-bmi
|
|
PRIVATE
|
|
sources/cxx-anchor.cxx)
|
|
|
|
install(TARGETS install-bmi
|
|
CXX_MODULES_BMI
|
|
DESTINATION "lib/bmi"
|
|
COMPONENT "bmi")
|
|
|
|
install(TARGETS install-bmi
|
|
CXX_MODULES_BMI
|
|
DESTINATION "lib/bmi"
|
|
EXCLUDE_FROM_ALL
|
|
COMPONENT "bmi-optional")
|
|
|
|
install(TARGETS install-bmi
|
|
CXX_MODULES_BMI
|
|
DESTINATION "lib/bmi"
|
|
CONFIGURATIONS Debug
|
|
COMPONENT "bmi-only-debug")
|