Skip to content

Commit

Permalink
Disable UNITY_BUILD for now - globally (#4515)
Browse files Browse the repository at this point in the history
  • Loading branch information
byrnHDF authored May 25, 2024
1 parent 0ae9c70 commit 3bd8159
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/cmake/HDFMacros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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 ()

#-----------------------------------------------------------------------------
Expand Down
8 changes: 8 additions & 0 deletions release_docs/RELEASE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3bd8159

Please sign in to comment.