Disable UNITY_BUILD for now - globally (#4515)

This commit is contained in:
Allen Byrne 2024-05-25 06:25:45 -05:00 committed by GitHub
parent 0ae9c7021a
commit 3bd8159ccd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 0 deletions

View File

@ -271,6 +271,8 @@ macro (TARGET_C_PROPERTIES wintarget libtype)
if(MSVC)
set_property(TARGET ${wintarget} APPEND PROPERTY LINK_FLAGS "${WIN_LINK_FLAGS}")
endif()
#Disable UNITY_BUILD for now
set_property(TARGET ${wintarget} APPEND PROPERTY UNITY_BUILD OFF)
endmacro ()
#-----------------------------------------------------------------------------

View File

@ -47,6 +47,14 @@ New Features
Configuration:
-------------
- Disable CMake UNITY_BUILD for hdf5
CMake added a target property, UNITY_BUILD, that when set to true, the target
source files will be combined into batches for faster compilation. By default,
the setting is OFF, but could be enabled by a project that includes HDF5 as a subproject.
HDF5 has disabled this feature by setting the property to OFF in the HDFMacros.cmake file.
- Removed "function/code stack" debugging configuration option:
CMake: HDF5_ENABLE_CODESTACK