mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
cotire : Added unity build of cafUserInterface
This commit is contained in:
@@ -134,4 +134,14 @@ target_link_libraries ( ${PROJECT_NAME}
|
||||
${QT_LIBRARIES}
|
||||
)
|
||||
|
||||
if (CAF_USE_COTIRE)
|
||||
cotire(${PROJECT_NAME})
|
||||
|
||||
# make sure the unity target is included in the active builds to trigger rebuild before debug
|
||||
get_target_property(_unityTargetName ${PROJECT_NAME} COTIRE_UNITY_TARGET_NAME)
|
||||
set_target_properties(${_unityTargetName} PROPERTIES EXCLUDE_FROM_DEFAULT_BUILD FALSE)
|
||||
set_target_properties(${PROJECT_NAME} PROPERTIES EXCLUDE_FROM_DEFAULT_BUILD TRUE)
|
||||
|
||||
endif()
|
||||
|
||||
source_group("" FILES ${PROJECT_FILES})
|
||||
|
||||
Reference in New Issue
Block a user