mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 08:25:03 -05:00
cotire : Exclude main project from build when unity build is present
This commit is contained in:
1 parent
80d7ae7262
commit
cdc6bbeab5
1 file changed
+1
@@ -390,6 +390,7 @@ if(RESINSIGHT_ENABLE_COTIRE)
|
|||||||
# make sure the unity target is included in the active builds to trigger rebuild before debug
|
# make sure the unity target is included in the active builds to trigger rebuild before debug
|
||||||
get_target_property(_unityTargetName ResInsight COTIRE_UNITY_TARGET_NAME)
|
get_target_property(_unityTargetName ResInsight COTIRE_UNITY_TARGET_NAME)
|
||||||
set_target_properties(${_unityTargetName} PROPERTIES EXCLUDE_FROM_DEFAULT_BUILD FALSE)
|
set_target_properties(${_unityTargetName} PROPERTIES EXCLUDE_FROM_DEFAULT_BUILD FALSE)
|
||||||
|
set_target_properties(ResInsight PROPERTIES EXCLUDE_FROM_DEFAULT_BUILD TRUE)
|
||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user