| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| |
| | |
1b5e52fd65 Genex: Fix COMPILE_LANGUAGE propagation through try_compile
2deb9b7f34 Genex: Fix COMPILE_LANGUAGE in SYSTEM include directories
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1844
|
| |
| |
| |
| |
| |
| |
| |
| | |
When evaluating include directories during export to a `try_compile`
test project, thread the compile language through to the generator
expression evaluator so it can support `$<COMPILE_LANGUAGE:...>`.
Issue: #17811
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When evaluating `INTERFACE_SYSTEM_INCLUDE_DIRECTORIES`, or evaluating
`INTERFACE_INCLUDE_DIRECTORIES` on an imported target, thread the
compile language through to the generator expression evaluator so
that it can support `$<COMPILE_LANGUAGE:...>`.
Fixes: #17811
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
7899e53691 ccmake: fix status line buffer overflow on very wide terminals
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1836
|
| | |
| | |
| | |
| | |
| | | |
A mistyped length calculation will memset across stack frame when
the user's terminal width is larger than 270.
|
| | | |
|
|\ \ \ |
|
| |\ \ \
| | | | |
| | | | |
| | | | | |
Merge-request: !1838
|
| |\ \ \ \
| | |_|_|/
| |/| | |
| | | | | |
Merge-request: !1839
|
|\ \ \ \ \
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | | |
78756429ab Help: Adapt cmake-buildsystem(7) to new IMPORTED targets features
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1839
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Since commit v3.11.0-rc1~433^2~2 (Teach target_* commands to set
INTERFACE properties of IMPORTED targets, 2017-09-18) it is now possible
to use the customary `target_*` commands for adjusting the settings of
an IMPORTED target. Update documentation accordingly.
|
|\ \ \ \
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | | |
7ad981c8f7 ExternalProject: Fix cache generation when last args ends with "-NOTFOUND"
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1838
|
| |/ / |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
7fec336bf7 genex: Add TARGET_EXISTS to check for target existence
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1829
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Define `$<TARGET_EXISTS:a>` to `1` if `a` is an existed target name,
else `0`.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
90086767dd cmGlobalVisualStudio10Generator: Use cmXMLWriter RAII helpers
8401b6ac4e cmXMLWriter: Add RAII helpers to allow DOM-like syntax
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1818
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This simplifies our XML generation code and avoids the need to disable
clang-format.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Use RAII for cmXMLWriter::StartElement/EndElement to make nesting
automatic.
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
2dc2a3eb15 Identify DLL platforms via CMAKE_IMPORT_LIBRARY_SUFFIX
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1832
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Use `CMAKE_IMPORT_LIBRARY_SUFFIX` to identify platforms that have DLL
import libraries rather than memorizing a list of platform names.
Fixes: #16801
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
588a1afe76 CMakeVersion.rc: Avoid leading zeros in integer version components
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1835
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
The split in commit v3.11.0-rc1~232^2 (CMakeVersion RC file: Split patch
into 2 components, 2017-12-01) can leave components "2018,0309", but the
latter is an octal constant with digit "9" out of range. Strip the
leading zero to express the components as "2018,309" so the resource
compiler treats them as decimal.
|
| | | | | | | |
|
| | | | | | | |
|
|/ / / / / / |
|
|\ \ \ \ \ \
| | |_|_|/ /
| |/| | | | |
|
| | | | | | |
|
|\ \ \ \ \ \ |
|
| |\ \ \ \ \ \
| | |_|_|_|_|/
| |/| | | | |
| | | | | | |
| | | | | | | |
There is no corresponding merge request because this fix was
cherry-picked specifically for CMake 3.10.
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | | |
Issue: #17793
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
9ef3abd3f3 FindLibXml2: provide imported target LibXml2::LibXml2
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1823
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
5901699672 cmDepends: Remove attempt to change directory that always fails
e60e4dfc88 cmWorkingDirectory: Check success of current dir changes
e654622aee Tests: Add --build-and-test test case
a865f0beb2 Tests: Confirm test working dir set successfully
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1817
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Nothing ever set `CompileDirectory` except `SetDirectory()`, but
nothing ever called that function. Therefore, `CompileDirectory`
was always empty for the attempt to change directory in `Check()`,
which therefore would always fail. Nothing was checking the result
and the code was always going to have no effect.
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Checks that giving an invalid build directory to
ctest --build-and-test will fail.
|
| | |_|_|_|/ /
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Specifically, this tests that setting WORKING_DIRECTORY
to an invalid directory results in the test failing.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
ff5823f512 cmOutputConverter: mark helper functions static
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1827
|
| | |_|_|_|_|/
| |/| | | | |
| | | | | | |
| | | | | | | |
This allows the linker to entirely drop any symbols of the functions.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
de348a9638 GenerateExportHeader: Add support for C projects
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1799
|
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Previously only C++ projects were supported.
Fixes: #16967
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
81bc7610ab Makefile: Fix "make clean" when there are no targets
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1833
|
| | |_|_|_|_|/
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
The empty `clean` target was missing from `Makefile2`.
Add one like we already have for `all` and `preinstall`.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
87a6816baf Add test for sorting and deduping of file(GLOB) result
b688d4fd22 file(GLOB): Ensure entire file list is sorted
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1821
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| |_|_|_|_|/ / /
|/| | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
587bad7ba2 project: warn on metadata arguments missing values
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1815
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Warn if `DESCRIPTION` or `VERSION` is given without a following value.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
694fce19b6 FindGDAL: Handle gdal-config printing absolute path to library
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1808
|