| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
# By KWSys Upstream
* upstream-KWSys:
KWSys 2020-05-18 (146f6b36)
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
3d4b70ea64 set_source_files_properties: Allow specification of directory scope
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4661
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Both set_source_files_properties() and set_property(SOURCE) now accept
two new optional arguments: DIRECTORY and TARGET_DIRECTORY.
The DIRECTORY option takes a list of relative or absolute paths
pointing to processed source directories (add_subdirectory was
already called on them).
These paths specify directory scopes where the source file properties
will be set. Previously the scope was always the currently processed
source directory.
Similarly TARGET_DIRECTORY takes a list of targets, whose source
directories will be used as the list of scopes where to set the
source file properties.
get_property() and get_source_file_property() also get the same
new arguments, except only one value can be specified instead
of a list.
Fixes: #20128
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
833ae0a63b Merge branch 'upstream-KWSys' into update-kwsys
3674f6a470 KWSys 2020-05-13 (d4da6980)
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4743
|
| | |
| | |
| | |
| | |
| | |
| | | |
# By KWSys Upstream
* upstream-KWSys:
KWSys 2020-05-13 (d4da6980)
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
549599bf32 cmake_command: Preserve arguments to INVOKE function
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4741
|
| | |/
| |/|
| | |
| | | |
Fixes: #20630
|
| | | |
|
|\ \ \
| |_|/
|/| |
| | |
| | |
| | |
| | |
| | |
| | | |
6c5d4522bc INTERFACE_SOURCES: Fix per-config link libs on multi-config generators
8daa140c6a cmGeneratorTarget: Factor evaluated target prop entries into struct
fcd1a1a920 cmGeneratorTarget: Track when the set of link libs is config-dependent
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4740
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In multi-config generators we memoize the computed set of source files
for a target to avoid repeating the computation when the set does not
depend on the configuration. We already track whether generator
expressions in `SOURCES` or `INTERFACE_SOURCES` reference the
configuration (`$<CONFIG:...>`). However, we previously forgot to track
whether the set of libraries whose `INTERFACE_SOURCES` are considered
depends on the configuration. This caused multi-config generators to
use the first configuration's set of sources for all configurations
in cases such as
target_link_libraries(tgt PRIVATE $<$<CONFIG:Debug>:iface_debug>)
where the `iface_debug` target has `INTERFACE_SOURCES`.
Fix this by also tracking config-dependence of the list of libraries for
evaluation of the list of source files.
Fixes: #20683
|
| | |
| | |
| | |
| | | |
This will allow storing more than just the list of entries itself.
|
| |/
| |
| |
| |
| |
| |
| | |
Report in `cmLinkImplementationLibraries` and `cmLinkInterfaceLibraries`
whether the list of libraries depends on a genex referencing the
configuration. We already track whether a genex references the head
target.
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
300bf4e94f set_*_properties: simplify and shorten implementations
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4728
|
| |
| |
| |
| |
| | |
Optimize argument copies and range traversal.
Inline the single use file static functions.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
6b2fb4ffd2 VS: Fix using PCH from source with COMPILE_OPTIONS
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4734
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If a source file gets per-source flags from both PCH and custom
`COMPILE_OPTIONS`, combine them correctly.
Fixes: #20694, #20456
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
faf44a8cdb source_group: Support forward slashes in group hierarchy
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4727
|
| | |/
| |/|
| | | |
Fixes: #18076
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
9f4eb352fe Unity Builds: Support explicit specification of sources to groups
b00585adcc Unity: Refactor implementation to make it easier to extend
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4716
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Instead of having CMake determine which files should go into each
unity file, the user can now use explicitly state the mapping.
|
| | | | |
|
| |/ /
|/| | |
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
2faa3f6c55 Refactoring: Third-parties public headers are under cm3p prefix
75e87e3db4 bootstrap: update list of problematic files
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4705
|
| | | |
| | | |
| | | |
| | | | |
Fixes: #20666
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
a2ee941aba Merge branch 'backport-pch-reuse-multi' into pch-reuse-multi
605d6c65c9 PCH: Fix REUSE_FROM in multi-config generators
7a1c7736cb PCH: Fix REUSE_FROM in multi-config generators
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4717
|
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Since commit a55df20499 (Multi-Ninja: Add precompile headers support,
2020-01-10, v3.17.0-rc1~136^2) the re-used PCH file object is added
once for each configuration to flags used for all configurations.
Put it in the flags for only the corresponding configuration instead.
Fixes: #20680
|
| | | | |
|
|\ \ \ \
| |_|/ /
|/| | |
| | | |
| | | |
| | | |
| | | | |
e4f1b301fe cmake: Allow arbitrary args passed to CMake script
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4707
|
| | | | |
|
| |/ /
|/| | |
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
be75622e49 bindexplib: Do not export symbols from managed code
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4692
|
| | | |
| | | |
| | | |
| | | | |
Fixes: #20653
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
086c20e9a6 OpenWatcom: Enable 16-bit targets
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4665
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Up to now CMake used OpenWatcom 32-bit target tools only.
This fix enable to use OpenWatcom 16-bit target tools too.
If CMAKE_SYSTEM_PROCESSOR(cross-compilation) is 'I86' then
OpenWatcom tools for 16-bit targets are used.
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
1b4ab323fd Fix build warnings for unused functions
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4697
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This commit addresses two sources of build errors when using the warning
flag -Werror=unused-function for GCC in the default compiler flags.
The affected functions are not used when building in bootstrap
mode and therefore should be ifdefed out.
No functional changes.
|
| |_|_|/ /
|/| | | | |
|
| | | | | |
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
3ffd2741c1 CPack: Fix newline output in .deb generator
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4695
|