diff options
author | Cristian Adam <cristian.adam@gmail.com> | 2019-11-06 13:57:12 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-11-06 16:47:15 (GMT) |
commit | 7ddf46230431cd3375f911d4b406af663595861d (patch) | |
tree | ef5d4bf7d8dffb519fd0f445283ffd7092bc66de /Help/prop_tgt/UNITY_BUILD.rst | |
parent | e0ec13059a04491c601e158c137cddc0802a410c (diff) | |
download | CMake-7ddf46230431cd3375f911d4b406af663595861d.zip CMake-7ddf46230431cd3375f911d4b406af663595861d.tar.gz CMake-7ddf46230431cd3375f911d4b406af663595861d.tar.bz2 |
Unity build: Include GENERATED files into unity build
There is no reason to skip the generated files, in case of problems
one can use the SKIP_UNITY_BUILD_INCLUSION property.
Fixes: #19925
Diffstat (limited to 'Help/prop_tgt/UNITY_BUILD.rst')
-rw-r--r-- | Help/prop_tgt/UNITY_BUILD.rst | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Help/prop_tgt/UNITY_BUILD.rst b/Help/prop_tgt/UNITY_BUILD.rst index 2faad92..fab4f15 100644 --- a/Help/prop_tgt/UNITY_BUILD.rst +++ b/Help/prop_tgt/UNITY_BUILD.rst @@ -40,9 +40,8 @@ Since multiple source files are included into one source file, it can lead to ODR errors. This section contains properties which help fixing these errors. -The source files marked by :prop_sf:`GENERATED` will be skipped -from unity build. This applies also for the source files marked -with :prop_sf:`SKIP_UNITY_BUILD_INCLUSION`. +The source files marked by :prop_sf:`SKIP_UNITY_BUILD_INCLUSION` +will be skipped from unity build. The source files that have :prop_sf:`COMPILE_OPTIONS`, :prop_sf:`COMPILE_DEFINITIONS`, :prop_sf:`COMPILE_FLAGS`, or |