Brad King
378a11cdba
Merge topic 'genex-TARGET_EXISTS'
7fec336bf7
genex: Add TARGET_EXISTS to check for target existence
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1829
8 years ago
Brad King
746ebaf563
Merge topic 'xml-raii'
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
8 years ago
Brad King
fac050ec8d
Merge topic 'update-dllplatform'
2dc2a3eb15
Identify DLL platforms via CMAKE_IMPORT_LIBRARY_SUFFIX
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1832
8 years ago
Brad King
725b0cab86
Merge topic 'cmake-rc-version-decimal'
588a1afe76
CMakeVersion.rc: Avoid leading zeros in integer version components
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1835
8 years ago
Kitware Robot
b340cacde8
CMake Nightly Date Stamp
8 years ago
Kitware Robot
c703972694
CMake Nightly Date Stamp
8 years ago
Kitware Robot
6dbdfab1a9
CMake Nightly Date Stamp
8 years ago
Brad King
588a1afe76
CMakeVersion.rc: Avoid leading zeros in integer version components
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.
8 years ago
Brad King
8c96f6ebbd
Merge branch 'release-3.11'
8 years ago
Vitaly Stakhovsky
90086767dd
cmGlobalVisualStudio10Generator: Use cmXMLWriter RAII helpers
This simplifies our XML generation code and avoids the need to disable
clang-format.
8 years ago
Brad King
c5541cf0da
CMake 3.11.0-rc3
8 years ago
Alex Turbov
7fec336bf7
genex: Add TARGET_EXISTS to check for target existence
Define `$<TARGET_EXISTS:a>` to `1` if `a` is an existed target name,
else `0`.
8 years ago
Stephan Szabo
2dc2a3eb15
Identify DLL platforms via CMAKE_IMPORT_LIBRARY_SUFFIX
Use `CMAKE_IMPORT_LIBRARY_SUFFIX` to identify platforms that have DLL
import libraries rather than memorizing a list of platform names.
Fixes : #16801
8 years ago
Brad King
6422a0209c
Merge branch 'release-3.10'
8 years ago
Brad King
6e56f28808
Merge topic 'libxml2-target'
9ef3abd3f3
FindLibXml2: provide imported target LibXml2::LibXml2
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1823
8 years ago
Brad King
e11410bb0c
Merge topic 'cmWorkingDirectory_success_checking'
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
8 years ago
Brad King
44fc572963
Merge topic 'cmoutpconv-static'
ff5823f512
cmOutputConverter: mark helper functions static
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1827
8 years ago
Brad King
897bd57025
Merge topic 'GenerateExportHeader-C'
de348a9638
GenerateExportHeader: Add support for C projects
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1799
8 years ago
Brad King
98622e5e72
Merge topic 'make-clean-no-targets'
81bc7610ab
Makefile: Fix "make clean" when there are no targets
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1833
8 years ago
Brad King
f8adde152f
Merge topic 'sort_glob_output'
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
8 years ago
Vitaly Stakhovsky
8401b6ac4e
cmXMLWriter: Add RAII helpers to allow DOM-like syntax
Use RAII for cmXMLWriter::StartElement/EndElement to make nesting
automatic.
8 years ago
Brad King
760c6c08a5
Merge branch 'autogen-empty-source-file-fix' into release-3.10
There is no corresponding merge request because this fix was
cherry-picked specifically for CMake 3.10.
8 years ago
Sebastian Holtermann
6f2f9ce331
Autogen: Fix for the empty source file crash in 3.10.2
Issue: #17793
8 years ago
Kitware Robot
72abc75519
CMake Nightly Date Stamp
8 years ago
Craig Scott
81b17f4649
Merge topic 'project-warn-missing-metadata-values'
587bad7ba2
project: warn on metadata arguments missing values
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1815
8 years ago
Rolf Eike Beer
9ef3abd3f3
FindLibXml2: provide imported target LibXml2::LibXml2
8 years ago
Arnaud Gelas
de348a9638
GenerateExportHeader: Add support for C projects
Previously only C++ projects were supported.
Fixes : #16967
8 years ago
Brad King
156a959410
Merge topic 'FindGDAL-absolute-path'
694fce19b6
FindGDAL: Handle gdal-config printing absolute path to library
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1808
8 years ago
Brad King
50b2d0c944
Merge topic 'misc-typos'
32f6b7a43b
Fix misc typos in documentation and comments
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1826
8 years ago
Brad King
1076ac9d68
Merge topic 'vs10-xmlmacros'
59d8cfb85e
cmVisualStudio10TargetGenerator: Use helpers for XML tags
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1813
8 years ago
Brad King
151763c9b2
Merge topic 'curl-target'
ee06f3c339
FindCURL: Revise documentation markup
83c0cb3f03
FindCURL: provide imported target CURL::CURL
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1822
8 years ago
Brad King
f0b412dd82
Merge topic 'avoid-LIB_DEPENDS'
7723e9a058
Do not produce legacy _LIB_DEPENDS cache entries
2124a1364a
cmTarget: Remove unnecessary RecordDependencies member
1c5bfab532
cmTarget: Simplify ClearDependencyInformation implementation
910a9d608e
cmTarget: Simplify ClearDependencyInformation signature
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Pavel Solodovnikov <hellyeahdominate@gmail.com>
Merge-request: !1828
8 years ago
Brad King
4f99809b71
Merge branch 'release-3.11'
8 years ago
Brad King
ca2ac4979d
Merge topic 'update-kwsys'
2c5b4359f8
Merge branch 'upstream-KWSys' into update-kwsys
64d4308d83
KWSys 2018-03-07 (2ad561e7)
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1830
8 years ago
Brad King
69b152967d
Merge topic 'cuda-no-device-link-rsp'
f64732f59b
CUDA: Do not pass unsupported @rspfile arguments to NVCC
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1831
8 years ago
Brad King
81bc7610ab
Makefile: Fix "make clean" when there are no targets
The empty `clean` target was missing from `Makefile2`.
Add one like we already have for `all` and `preinstall`.
8 years ago
Craig Scott
5901699672
cmDepends: Remove attempt to change directory that always fails
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.
8 years ago
Craig Scott
e60e4dfc88
cmWorkingDirectory: Check success of current dir changes
8 years ago
Kitware Robot
458fc1de49
CMake Nightly Date Stamp
8 years ago
Shane Parris
87a6816baf
Add test for sorting and deduping of file(GLOB) result
8 years ago
Shane Parris
b688d4fd22
file(GLOB): Ensure entire file list is sorted
8 years ago
luz.paz
32f6b7a43b
Fix misc typos in documentation and comments
8 years ago
Brad King
57f35bba84
Merge branch 'cuda-no-device-link-rsp' into release-3.11
Merge-request: !1831
8 years ago
Brad King
f64732f59b
CUDA: Do not pass unsupported @rspfile arguments to NVCC
The nvcc compiler does not support `@<rspfile>` arguments. It does
offer a `--options-file` argument that can be investigated later.
Fixes : #17797
8 years ago
Alex Turbov
587bad7ba2
project: warn on metadata arguments missing values
Warn if `DESCRIPTION` or `VERSION` is given without a following value.
8 years ago
Adam Thompson
694fce19b6
FindGDAL: Handle gdal-config printing absolute path to library
FindGDAL uses GDAL's 'gdal-config' utility to obtain the path to GDAL's library
(on systems identified by CMake's UNIX variable). Older versions formatted this
information like that of dependent libraries:
-L/path/to/gdal/lib -lgdal[suffix]
Newer versions instead provide the full path to the library:
/path/to/gdal/lib/[prefix]gdal[suffix]
FindGDAL now supports both formats. Entries that don't start with '-L' or '-l'
are only considered if they are absolute paths that exist on disk.
Furthermore, libraries are only considered if the name contains 'gdal'
(checked case-insensitively).
8 years ago
Brad King
ee06f3c339
FindCURL: Revise documentation markup
8 years ago
Vitaly Stakhovsky
59d8cfb85e
cmVisualStudio10TargetGenerator: Use helpers for XML tags
Make the XML generating code smaller, more structured, and less
error-prone. This is a step towards future XML refactoring.
8 years ago
Brad King
9ceafdfd4d
Merge topic 'FindOpenMP-AppleClang'
e3cd7c1e01
FindOpenMP: Add support for AppleClang compiler
b4c539e651
FindOpenMP: Verify in test source that OMP library is linked
7dd8c7a680
FindOpenMP: Improve inclusion of helper modules
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1812
8 years ago
Henry Fredrick Schreiner
e3cd7c1e01
FindOpenMP: Add support for AppleClang compiler
This is possible using an external `omp` library and by passing
the flag past the compiler driver via `-Xclang -fopenmp`.
Fixes : #17775
8 years ago