mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-09 06:55:56 -06:00
#4020 System : Use ri_apply_cotire()
This commit is contained in:
parent
8bb13f4e15
commit
bd6bbe9da9
@ -53,3 +53,7 @@ target_link_libraries( ${PROJECT_NAME}
|
||||
)
|
||||
|
||||
source_group("" FILES ${PROJECT_FILES})
|
||||
|
||||
if (COMMAND ri_apply_cotire)
|
||||
ri_apply_cotire()
|
||||
endif()
|
||||
|
@ -92,3 +92,7 @@ target_include_directories(${PROJECT_NAME}
|
||||
target_link_libraries(${PROJECT_NAME} ${RI_ODB_LIBS} RigGeoMechDataModel LibCore)
|
||||
|
||||
source_group("" FILES ${PROJECT_FILES})
|
||||
|
||||
if (COMMAND ri_apply_cotire)
|
||||
ri_apply_cotire()
|
||||
endif()
|
||||
|
@ -23,3 +23,7 @@ target_include_directories(${PROJECT_NAME}
|
||||
target_link_libraries(${PROJECT_NAME} LibCore)
|
||||
|
||||
source_group("" FILES ${PROJECT_FILES})
|
||||
|
||||
if (COMMAND ri_apply_cotire)
|
||||
ri_apply_cotire()
|
||||
endif()
|
||||
|
@ -88,3 +88,8 @@ if (MSVC)
|
||||
endif()
|
||||
|
||||
source_group("" FILES ${PROJECT_FILES})
|
||||
|
||||
if (COMMAND ri_apply_cotire)
|
||||
set_source_files_properties (cafEffectGenerator.cpp PROPERTIES COTIRE_EXCLUDED TRUE)
|
||||
ri_apply_cotire()
|
||||
endif()
|
||||
|
@ -87,3 +87,7 @@ if (MSVC)
|
||||
endif()
|
||||
|
||||
source_group("" FILES ${PROJECT_FILES})
|
||||
|
||||
if (COMMAND ri_apply_cotire)
|
||||
ri_apply_cotire()
|
||||
endif()
|
||||
|
@ -49,3 +49,7 @@ if (MSVC)
|
||||
endif()
|
||||
|
||||
source_group("" FILES ${PROJECT_FILES})
|
||||
|
||||
if (COMMAND ri_apply_cotire)
|
||||
ri_apply_cotire()
|
||||
endif()
|
||||
|
@ -79,3 +79,7 @@ if (MSVC)
|
||||
endif()
|
||||
|
||||
source_group("" FILES ${PROJECT_FILES})
|
||||
|
||||
if (COMMAND ri_apply_cotire)
|
||||
ri_apply_cotire()
|
||||
endif()
|
||||
|
@ -102,3 +102,7 @@ if (MSVC)
|
||||
endif()
|
||||
|
||||
source_group("" FILES ${PROJECT_FILES})
|
||||
|
||||
if (COMMAND ri_apply_cotire)
|
||||
ri_apply_cotire()
|
||||
endif()
|
||||
|
@ -71,3 +71,7 @@ if (MSVC)
|
||||
endif()
|
||||
|
||||
source_group("" FILES ${PROJECT_FILES})
|
||||
|
||||
if (COMMAND ri_apply_cotire)
|
||||
ri_apply_cotire()
|
||||
endif()
|
||||
|
@ -121,4 +121,8 @@ else()
|
||||
execute_process(COMMAND cmake -E copy_if_different ${QT_BINARY_DIR}/${qtlib}4.dll ${CMAKE_BINARY_DIR}/Release/${qtlib}4.dll)
|
||||
endforeach( qtlib )
|
||||
endif(MSVC)
|
||||
endif(Qt5Core_FOUND)
|
||||
endif(Qt5Core_FOUND)
|
||||
|
||||
if (COMMAND ri_apply_cotire)
|
||||
ri_apply_cotire()
|
||||
endif()
|
||||
|
@ -185,14 +185,8 @@ target_link_libraries ( ${PROJECT_NAME}
|
||||
${QT_LIBRARIES}
|
||||
)
|
||||
|
||||
if (COMMAND 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})
|
||||
|
||||
if (COMMAND ri_apply_cotire)
|
||||
ri_apply_cotire()
|
||||
endif()
|
||||
|
@ -73,3 +73,8 @@ if (MSVC)
|
||||
endif()
|
||||
|
||||
source_group("" FILES ${PROJECT_FILES})
|
||||
|
||||
if (COMMAND ri_apply_cotire)
|
||||
set_source_files_properties (cafOpenGLWidget.cpp PROPERTIES COTIRE_EXCLUDED TRUE)
|
||||
ri_apply_cotire()
|
||||
endif()
|
||||
|
@ -107,3 +107,7 @@ target_include_directories(${PROJECT_NAME}
|
||||
|
||||
set(PROJECT_FILES ${CEE_HEADER_FILES} ${CEE_SOURCE_FILES})
|
||||
source_group("" FILES ${PROJECT_FILES})
|
||||
|
||||
if (COMMAND ri_apply_cotire)
|
||||
ri_apply_cotire()
|
||||
endif()
|
||||
|
@ -65,3 +65,7 @@ target_link_libraries ( ${PROJECT_NAME}
|
||||
|
||||
set(PROJECT_FILES ${CEE_HEADER_FILES} ${CEE_SOURCE_FILES})
|
||||
source_group("" FILES ${PROJECT_FILES})
|
||||
|
||||
if (COMMAND ri_apply_cotire)
|
||||
ri_apply_cotire()
|
||||
endif()
|
||||
|
@ -71,3 +71,9 @@ target_link_libraries ( ${PROJECT_NAME}
|
||||
)
|
||||
set(PROJECT_FILES ${CEE_HEADER_FILES} ${CEE_SOURCE_FILES})
|
||||
source_group("" FILES ${PROJECT_FILES})
|
||||
|
||||
if (COMMAND ri_apply_cotire)
|
||||
set_source_files_properties (cvfqtOpenGLWidget.cpp PROPERTIES COTIRE_EXCLUDED TRUE)
|
||||
set_source_files_properties (cvfqtOpenGLContext.cpp PROPERTIES COTIRE_EXCLUDED TRUE)
|
||||
ri_apply_cotire()
|
||||
endif()
|
||||
|
@ -188,3 +188,12 @@ target_link_libraries ( ${PROJECT_NAME}
|
||||
|
||||
set(PROJECT_FILES ${CEE_HEADER_FILES} ${CEE_SOURCE_FILES})
|
||||
source_group("" FILES ${PROJECT_FILES})
|
||||
|
||||
if (COMMAND ri_apply_cotire)
|
||||
set_source_files_properties (cvfOpenGLCapabilities.cpp PROPERTIES COTIRE_EXCLUDED TRUE)
|
||||
set_source_files_properties (cvfOpenGLContext.cpp PROPERTIES COTIRE_EXCLUDED TRUE)
|
||||
set_source_files_properties (cvfOpenGLContextGroup.cpp PROPERTIES COTIRE_EXCLUDED TRUE)
|
||||
set_source_files_properties (cvfOpenGLResourceManager.cpp PROPERTIES COTIRE_EXCLUDED TRUE)
|
||||
set_source_files_properties (cvfOpenGL.cpp PROPERTIES COTIRE_EXCLUDED TRUE)
|
||||
ri_apply_cotire()
|
||||
endif()
|
||||
|
@ -84,3 +84,7 @@ target_link_libraries ( ${PROJECT_NAME}
|
||||
|
||||
set(PROJECT_FILES ${CEE_HEADER_FILES} ${CEE_SOURCE_FILES})
|
||||
source_group("" FILES ${PROJECT_FILES})
|
||||
|
||||
if (COMMAND ri_apply_cotire)
|
||||
ri_apply_cotire()
|
||||
endif()
|
||||
|
4
ThirdParty/Qwt/src/CMakeLists.txt
vendored
4
ThirdParty/Qwt/src/CMakeLists.txt
vendored
@ -299,3 +299,7 @@ target_include_directories(${PROJECT_NAME}
|
||||
if (Qt5Core_FOUND)
|
||||
target_link_libraries(${PROJECT_NAME} Qt5::Concurrent Qt5::Core Qt5::OpenGL Qt5::PrintSupport Qt5::Widgets)
|
||||
endif()
|
||||
|
||||
if (COMMAND ri_apply_cotire)
|
||||
ri_apply_cotire()
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user