Build/CMake: disable unity builds for external dependencies as their support for unity builds was rather hacky and relied too much on random factors
This commit is contained in:
1 parent
5549d82845
commit
cd107956f5
11 files changed
-99
No files matched your search
@@ -55,12 +55,3 @@ else()
|
||||
set_target_properties(minhook PROPERTIES POSTFIX "")
|
||||
set_target_properties(minhook PROPERTIES DEBUG_POSTFIX "d")
|
||||
endif()
|
||||
|
||||
if(UNITY_BUILDS)
|
||||
set_target_properties(minhook
|
||||
PROPERTIES UNITY_BUILD ON)
|
||||
set_target_properties(minhook
|
||||
PROPERTIES
|
||||
UNITY_BUILD_MODE BATCH
|
||||
UNITY_BUILD_BATCH_SIZE 2)
|
||||
endif()
|
||||
@@ -41,12 +41,3 @@ else()
|
||||
FOLDER
|
||||
"dep")
|
||||
endif()
|
||||
|
||||
if(UNITY_BUILDS)
|
||||
set_target_properties(bzip2
|
||||
PROPERTIES UNITY_BUILD ON)
|
||||
set_target_properties(bzip2
|
||||
PROPERTIES
|
||||
UNITY_BUILD_MODE BATCH
|
||||
UNITY_BUILD_BATCH_SIZE 8)
|
||||
endif()
|
||||
@@ -88,12 +88,3 @@ if (BUILD_SHARED_LIBS)
|
||||
else ()
|
||||
add_library(efsw INTERFACE IMPORTED GLOBAL)
|
||||
endif ()
|
||||
|
||||
if(UNITY_BUILDS)
|
||||
set_target_properties(efsw
|
||||
PROPERTIES UNITY_BUILD ON)
|
||||
set_target_properties(efsw
|
||||
PROPERTIES
|
||||
UNITY_BUILD_MODE BATCH
|
||||
UNITY_BUILD_BATCH_SIZE 8)
|
||||
endif()
|
||||
@@ -61,12 +61,3 @@ set_target_properties(fmt
|
||||
PROPERTIES
|
||||
FOLDER
|
||||
"dep")
|
||||
|
||||
if(UNITY_BUILDS)
|
||||
set_target_properties(fmt
|
||||
PROPERTIES UNITY_BUILD ON)
|
||||
set_target_properties(fmt
|
||||
PROPERTIES
|
||||
UNITY_BUILD_MODE BATCH
|
||||
UNITY_BUILD_BATCH_SIZE 8)
|
||||
endif()
|
||||
@@ -71,12 +71,3 @@ set_target_properties(g3dlib
|
||||
PROPERTIES
|
||||
FOLDER
|
||||
"dep")
|
||||
|
||||
if(UNITY_BUILDS)
|
||||
set_target_properties(g3dlib
|
||||
PROPERTIES UNITY_BUILD ON)
|
||||
set_target_properties(g3dlib
|
||||
PROPERTIES
|
||||
UNITY_BUILD_MODE BATCH
|
||||
UNITY_BUILD_BATCH_SIZE 8)
|
||||
endif()
|
||||
@@ -27,15 +27,6 @@ set_target_properties(gsoap
|
||||
FOLDER
|
||||
"dep")
|
||||
|
||||
if(UNITY_BUILDS)
|
||||
set_target_properties(gsoap
|
||||
PROPERTIES UNITY_BUILD ON)
|
||||
set_target_properties(gsoap
|
||||
PROPERTIES
|
||||
UNITY_BUILD_MODE BATCH
|
||||
UNITY_BUILD_BATCH_SIZE 7)
|
||||
endif()
|
||||
|
||||
if (MSVC)
|
||||
# Little fix for MSVC / Windows platforms
|
||||
target_compile_definitions(gsoap
|
||||
|
||||
@@ -117,12 +117,3 @@ else()
|
||||
valgrind)
|
||||
|
||||
endif()
|
||||
|
||||
if(UNITY_BUILDS)
|
||||
set_target_properties(jemalloc
|
||||
PROPERTIES UNITY_BUILD ON)
|
||||
set_target_properties(jemalloc
|
||||
PROPERTIES
|
||||
UNITY_BUILD_MODE BATCH
|
||||
UNITY_BUILD_BATCH_SIZE 8)
|
||||
endif()
|
||||
@@ -217,12 +217,3 @@ target_compile_definitions(libzmq
|
||||
-DZMQ_STATIC
|
||||
${ZMQ_PLATFORM}
|
||||
${ADDITIONAL_DEFINES})
|
||||
|
||||
if(UNITY_BUILDS)
|
||||
set_target_properties(libzmq
|
||||
PROPERTIES UNITY_BUILD ON)
|
||||
set_target_properties(libzmq
|
||||
PROPERTIES
|
||||
UNITY_BUILD_MODE BATCH
|
||||
UNITY_BUILD_BATCH_SIZE 2)
|
||||
endif()
|
||||
@@ -34,12 +34,3 @@ set_target_properties(Detour
|
||||
PROPERTIES
|
||||
FOLDER
|
||||
"dep")
|
||||
|
||||
if(UNITY_BUILDS)
|
||||
set_target_properties(Detour
|
||||
PROPERTIES UNITY_BUILD ON)
|
||||
set_target_properties(Detour
|
||||
PROPERTIES
|
||||
UNITY_BUILD_MODE BATCH
|
||||
UNITY_BUILD_BATCH_SIZE 7)
|
||||
endif()
|
||||
@@ -38,12 +38,3 @@ set_target_properties(Recast
|
||||
PROPERTIES
|
||||
FOLDER
|
||||
"dep")
|
||||
|
||||
if(UNITY_BUILDS)
|
||||
set_target_properties(Recast
|
||||
PROPERTIES UNITY_BUILD ON)
|
||||
set_target_properties(Recast
|
||||
PROPERTIES
|
||||
UNITY_BUILD_MODE BATCH
|
||||
UNITY_BUILD_BATCH_SIZE 2)
|
||||
endif()
|
||||
@@ -33,12 +33,3 @@ target_compile_definitions(zmqpp
|
||||
-DBUILD_VERSION_MINOR=2
|
||||
-DBUILD_VERSION_REVISION=0
|
||||
-DBUILD_VERSION="3.2.0")
|
||||
|
||||
if(UNITY_BUILDS)
|
||||
set_target_properties(zmqpp
|
||||
PROPERTIES UNITY_BUILD ON)
|
||||
set_target_properties(zmqpp
|
||||
PROPERTIES
|
||||
UNITY_BUILD_MODE BATCH
|
||||
UNITY_BUILD_BATCH_SIZE 6)
|
||||
endif()
|
||||
Reference in new issue
Block a user