summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* cmStringAlgorithms: Add cmRemoveQuotesSebastian Holtermann2019-08-095-16/+40
| | | | | - Add `cmRemoveQuotes` function to cmStringAlgorithms - Remove unused removeQuotes inline functions
* CMake Nightly Date StampKitware Robot2019-08-091-1/+1
|
* CMake Nightly Date StampKitware Robot2019-08-081-1/+1
|
* Merge branch 'release-3.15'Brad King2019-08-070-0/+0
|\
| * CMake 3.15.2v3.15.2Brad King2019-08-071-1/+1
| |
* | Merge branch 'release-3.15'Brad King2019-08-070-0/+0
|\ \ | |/
| * Merge branch 'doc-relnotes-3.15' into release-3.15Brad King2019-08-071-0/+7
| |\ | | | | | | | | | Merge-request: !3664
* | \ Merge topic 'doc-relnotes-3.15'Brad King2019-08-071-0/+7
|\ \ \ | | |/ | |/| | | | | | | | | | | | | 18ce372e0f Help: Add 3.15.2 release notes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3664
| * | Help: Add 3.15.2 release notesBrad King2019-08-071-0/+7
| |/
* | Merge topic 'tidy_inefficient_string'Brad King2019-08-0741-155/+149
|\ \ | | | | | | | | | | | | | | | | | | 18b0330b86 clang-tidy: Enable performance-inefficient-string-concatenation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3648
| * | clang-tidy: Enable performance-inefficient-string-concatenationSebastian Holtermann2019-08-0541-155/+150
| | | | | | | | | | | | | | | | | | | | | Enables the clang-tidy test performance-inefficient-string-concatenation and replaces all inefficient string concatenations with `cmStrCat`. Closes: #19555
* | | Merge topic 'FindPython-virtual-env'Brad King2019-08-074-185/+312
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 7ed84b1e8f FindPython: ensure virtual environments are correctly handled Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3649
| * | | FindPython: ensure virtual environments are correctly handledMarc Chevrier2019-08-054-185/+312
| | | | | | | | | | | | | | | | Fixes: #19525
* | | | Merge topic 'cmStringAlgorithms_move_functions'Brad King2019-08-0724-126/+161
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 959b97a27f Tests: testStringAlgorithms: Add cmTrimWhitespace, cmEscapeQuotes, cmTokenize 7fbcc16dcd cmStringAlgorithms: cmIsSpace, cmTrimWhitespace, cmEscapeQuotes, cmTokenize Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3647
| * | | | Tests: testStringAlgorithms: Add cmTrimWhitespace, cmEscapeQuotes, cmTokenizeSebastian Holtermann2019-08-051-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | Extend the testStringAlgorithms test with tests for `cmTrimWhitespace`, `cmEscapeQuotes` and `cmTokenize`.
| * | | | cmStringAlgorithms: cmIsSpace, cmTrimWhitespace, cmEscapeQuotes, cmTokenizeSebastian Holtermann2019-08-0523-126/+124
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds the following functions to `cmStringAlgorithms`: - `cmIsSpace` - `cmTrimWhitespace` (moved from `cmSystemTools::TrimWhitespace`) - `cmEscapeQuotes` (moved from `cmSystemTools::EscapeQuotes`) - `cmTokenize` (moved from `cmSystemTools::tokenize` and adapted to accept `cm::string_view`)
* | | | | Merge topic 'doc-CMAKE_MESSAGE_INDENT-spelling-typo'Brad King2019-08-071-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8fe129e314 Help: Fix spelling typo in `CMAKE_MESSAGE_INDENT` docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3658
| * | | | | Help: Fix spelling typo in `CMAKE_MESSAGE_INDENT` docsAlex Turbov2019-08-061-1/+1
| | | | | |
* | | | | | Merge branch 'release-3.15'Brad King2019-08-070-0/+0
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | |
| * | | | | Merge branch 'FindGLEW-macOS' into release-3.15Brad King2019-08-061-3/+34
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !3656
| * \ \ \ \ \ Merge branch 'find_package-prefer-config-not-found' into release-3.15Brad King2019-08-062-1/+9
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !3653
* | \ \ \ \ \ \ Merge topic 'FindGLEW-macOS'Brad King2019-08-071-3/+34
|\ \ \ \ \ \ \ \ | | |_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | feeb0381bc FindGLEW: Fix typo in verbose log message ab822a9b48 FindGLEW: Add required OpenGL dependency in macOS a8a3efa3be FindGLEW: Fix macOS library suffix selection Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3656
| * | | | | | | FindGLEW: Fix typo in verbose log messageClaudio Fantacci2019-08-061-1/+1
| | | | | | | |
| * | | | | | | FindGLEW: Add required OpenGL dependency in macOSClaudio Fantacci2019-08-061-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | macOS requires OpenGL as INTERFACE_LINK_LIBRARIES dependency in the GLEW targets. This commit fixes this issue.
| * | | | | | | FindGLEW: Fix macOS library suffix selectionClaudio Fantacci2019-08-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix logic added by commit a7d853868b (FindGLEW: Update implementation, 2019-03-13, v3.15.0-rc1~375^2~1) on macOS. macOS is recognized as both UNIX and APPLE. Consequently, the library suffix for shared and static library was set, respectively, as `.so` and `.a`, just like UNIX systems. Fix this by properly checking the OS type. Fixes: #19542
* | | | | | | | Merge topic 'find_package-prefer-config-not-found'Brad King2019-08-072-1/+9
|\ \ \ \ \ \ \ \ | | |_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8ed868606d find_package: Fix prefer-config mode to not fail on missing optional package Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3653
| * | | | | | | find_package: Fix prefer-config mode to not fail on missing optional packageCristian Adam2019-08-062-1/+9
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When `CMAKE_FIND_PACKAGE_PREFER_CONFIG` mode was set to `ON`, failure to find a package was fatal even if it was not `REQUIRED`. Fix this and add a test case. Fixes: #19557
* | | | | | | CMake Nightly Date StampKitware Robot2019-08-071-1/+1
| |_|/ / / / |/| | | | |
* | | | | | Merge topic 'doc-fix-CMAKE_MESSAGE_INDENT-sample-output'Brad King2019-08-061-0/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 493b8eae36 Help: Fix example output in the `CMAKE_MESSAGE_INDENT` documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3651
| * | | | | | Help: Fix example output in the `CMAKE_MESSAGE_INDENT` documentationAlex Turbov2019-08-051-0/+2
| | |_|_|_|/ | |/| | | |
* | | | | | Merge topic 'cmake-dependent-option-doc'Brad King2019-08-062-2/+5
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d192caefff CMakeDependentOption: Document that 4th parameter follows if-syntax Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3643
| * | | | | | CMakeDependentOption: Document that 4th parameter follows if-syntaxHong Xu2019-08-052-2/+5
| | | | | | |
* | | | | | | Merge branch 'release-3.15'Brad King2019-08-060-0/+0
|\ \ \ \ \ \ \ | | |_|_|/ / / | |/| | | | |
| * | | | | | Merge branch 'clang-frontend-variant' into release-3.15Brad King2019-08-052-0/+32
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !3650
* | \ \ \ \ \ \ Merge topic 'clang-frontend-variant'Brad King2019-08-062-0/+32
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a245479372 clang: Work around toolchain file use of internal CMake variables Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3650
| * | | | | | | clang: Work around toolchain file use of internal CMake variablesBrad King2019-08-052-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit d44c0db0b2 (clang: setup correct configuration in gnu mode, 2019-02-20, v3.15.0-rc1~41^2~5) our Clang compiler information modules need the `CMAKE_<LANG>_COMPILER_FRONTEND_VARIANT` variable that we compute during compiler detection. However, some existing toolchain files set our internal `CMAKE_<LANG>_COMPILER_ID_RUN` variables and block that detection, but do not set the new frontend variant variable. Help them out by setting `CMAKE_<LANG>_COMPILER_FRONTEND_VARIANT` anyway. Fixes: #19515, #19539
* | | | | | | | CMake Nightly Date StampKitware Robot2019-08-061-1/+1
| |_|_|/ / / / |/| | | | | |
* | | | | | | Merge topic 'control-block3'Brad King2019-08-0517-540/+438
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 41364824ad cmFunctionBlocker: Recycle functions 6491270e0d cmFunctionBlocker: Move check for matching args af24e4ef6e cmFunctionBlocker: Move common logic to base ef38ff22f7 cm*FunctionBlocker: Extract function Replay b51fba6298 cmMakefile: Add OnExecuteCommand callback c76500949d cm*FunctionBlocker: Move to source file Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3632
| * | | | | | | cmFunctionBlocker: Recycle functionsRegina Pfeifer2019-07-317-20/+18
| | | | | | | |
| * | | | | | | cmFunctionBlocker: Move check for matching argsRegina Pfeifer2019-07-309-100/+65
| | | | | | | |
| * | | | | | | cmFunctionBlocker: Move common logic to baseRegina Pfeifer2019-07-3010-169/+78
| | | | | | | |
| * | | | | | | cm*FunctionBlocker: Extract function ReplayRegina Pfeifer2019-07-305-227/+272
| | | | | | | |
| * | | | | | | cmMakefile: Add OnExecuteCommand callbackRegina Pfeifer2019-07-303-31/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In cmCTestScriptHandler, port away from cmFunctionBlocker and update the elapsed time with the new callback instead.
| * | | | | | | cm*FunctionBlocker: Move to source fileRegina Pfeifer2019-07-3010-90/+85
| | | | | | | |
* | | | | | | | Merge topic 'cleanup_cmake_constructor'Brad King2019-08-052-54/+31
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0962589627 cmake: Initialize booleans at declaration and cleanup constructor Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3646
| * | | | | | | | cmake: Initialize booleans at declaration and cleanup constructorSebastian Holtermann2019-08-032-54/+31
| | |_|_|_|_|_|/ | |/| | | | | |
* | | | | | | | Merge topic 'shared-deps-no-iface'Brad King2019-08-053-8/+19
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d75cad01f0 Fix rpath-link for shared lib with only private deps 4b2e1fc9ee cmGeneratorTarget: Use local var to de-duplicate CMP0022 checks 94648953be cmLinkItem: Simplify tracking of whether link interface is explicit Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3642
| * | | | | | | | Fix rpath-link for shared lib with only private depsBrad King2019-08-022-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Under CMP0022 NEW behavior, the link interface is explicit even if there are no public dependencies (`INTERFACE_LINK_LIBRARIES` is not set). Mark it as such to activate our tracking of private runtime dependencies of shared libraries for generation of `-rpath-link` flags. Fixes: #19556
| * | | | | | | | cmGeneratorTarget: Use local var to de-duplicate CMP0022 checksBrad King2019-08-021-4/+4
| | | | | | | | |
| * | | | | | | | cmLinkItem: Simplify tracking of whether link interface is explicitBrad King2019-08-022-3/+3
| | |_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | We now only need a boolean.