summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* PCH: Propagate INTERFACE_PRECOMPILE_HEADERS in install(EXPORT)Brad King2019-09-255-1/+42
| | | | | | | | | This was accidentally left out of commit 0467a2f91b (PCH: add PRECOMPILE_HEADERS to special properties, 2015-03-12). Also add a test case for `install(EXPORT)` and `export()` propagation of precompiled headers. Fixes: #19741
* Merge topic 'pch-relative-includes'Brad King2019-09-249-17/+89
|\ | | | | | | | | | | | | acb9511044 Precompile headers: Treat headers as relative to current source directory Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3840
| * Precompile headers: Treat headers as relative to current source directoryCristian Adam2019-09-239-17/+89
| | | | | | | | | | | | | | Teach `target_precompile_headers` to treat relative paths the same way as `target_sources`. Fixes: #19733
* | Merge topic 'add-genex-evaluate-utility'Brad King2019-09-2424-274/+198
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7dcf9cb83c cmGeneratorExpression: Add cmGeneratorExpression::Evaluate utility c7c59dae82 cmCustomCommandGenerator: Replace generator expression member c12222db86 cmGeneratorExpression: Remove Evaluate overload by parameter re-ordering 1811411fec cmGeneratorExpression: Move quiet flag to cmCompiledGeneratorExpression edb0bbd18b cmGeneratorTarget: Remove unused virtual signature of TargetPropertyEntry Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3852
| * | cmGeneratorExpression: Add cmGeneratorExpression::Evaluate utilityDaniel Eiband2019-09-2317-158/+122
| | | | | | | | | | | | | | | | | | | | | cmGeneratorExpression::Evaluate is a shortcut when only the evaluated string is needed or an instance of cmCompiledGeneratorExpression cannot be cached. Fixes: #19686
| * | cmCustomCommandGenerator: Replace generator expression memberDaniel Eiband2019-09-222-16/+7
| | | | | | | | | | | | | | | Replace generator expression member variable by stack variable in the constructor.
| * | cmGeneratorExpression: Remove Evaluate overload by parameter re-orderingDaniel Eiband2019-09-226-37/+23
| | | | | | | | | | | | | | | | | | | | | | | | Simplify by re-ordering parameters of cmCompiledGeneratorExpression::Evaluate so that frequently used parameters are before less frequently used parameters. This allows with little extra arguments to get rid of one Evaluate overload, which makes it easier to implement the cmGeneratorExpression::Evaluate utility. The latter would otherwise need four overloads.
| * | cmGeneratorExpression: Move quiet flag to cmCompiledGeneratorExpressionDaniel Eiband2019-09-2210-60/+68
| | | | | | | | | | | | | | | | | | The quiet flag is false for all but one call to Evaluate. Make the quiet flag a setter of cmCompiledGeneratorExpression to be able to remove it from the Evaluate function signature.
| * | cmGeneratorTarget: Remove unused virtual signature of TargetPropertyEntryDaniel Eiband2019-09-211-35/+10
| |/ | | | | | | | | Remove unused virtual Evaluate signature of TargetPropertyEntry. Also remove the boolean parameter quiet.
* | Merge topic 'miscellaneous-refactorings'Brad King2019-09-244-5/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | f4afcd5c6b VS: Remove call to ConvertToWindowsExtendedPath with result discarded 61fdf326d8 cmState: Avoid lowering command name twice 0965bd9c06 Generators: Remove function declarations which do not have a definition Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3847
| * | VS: Remove call to ConvertToWindowsExtendedPath with result discardedDaniel Eiband2019-09-211-1/+0
| | | | | | | | | | | | | | | Remove call to ConvertToWindowsExtendedPath. The call has no side effect and the return value is discarded.
| * | cmState: Avoid lowering command name twiceDaniel Eiband2019-09-211-1/+1
| | | | | | | | | | | | | | | The given command given to GetCommand is already lower case so we can use GetCommandByExactName directly.
| * | Generators: Remove function declarations which do not have a definitionDaniel Eiband2019-09-212-3/+0
| |/
* | Merge topic 'update-cached-is-generated-property'Brad King2019-09-243-2/+10
|\ \ | | | | | | | | | | | | | | | | | | 8456f60dbc cmSourceFile: Remove non-const GetProperties accessor Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3848
| * | cmSourceFile: Remove non-const GetProperties accessorDaniel Eiband2019-09-213-2/+10
| |/ | | | | | | | | | | Manipulating the property map of cmSourceFile directly may invalidate the class invariant of the cached value IsGenerated. Provide the setter SetProperties which also updates IsGenerated.
* | Merge topic 'iar-v850-asm'Brad King2019-09-241-0/+5
|\ \ | | | | | | | | | | | | | | | | | | 158f3795b8 IAR: Add v850 assembler support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3856
| * | IAR: Add v850 assembler supportNico Mueller2019-09-231-0/+5
| | | | | | | | | | | | | | | | | | Assembler compiler configuration for 'v850' architecture Issue: #17264
* | | Merge topic 'FindThreads-lib-name'Brad King2019-09-241-4/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | de5f123d3a FindThreads: Do not hard-code '-l' flag on library name Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3857
| * | | FindThreads: Do not hard-code '-l' flag on library nameAlan W. Irwin2019-09-231-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When not using the `-pthread` flag we instead return a library to link by name. Previously we hard-coded the `-l` flag before the library name. When used with `target_link_libraries`, the hard-coded `-l` flag is preserved rather than transformed into the link option preferred by the toolchain in use. Drop the explicit `-l` part to let CMake's generators produce the proper way to link the threads library for the current toolchain. Fixes: #19747
* | | | Merge topic 'FindOpenSSL-static-deps'Brad King2019-09-241-5/+43
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8098bd5768 FindOpenSSL: add pthread and dl dependencies to static lib on Linux Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3820
| * | | | FindOpenSSL: add pthread and dl dependencies to static lib on LinuxDavid Callu2019-09-201-5/+43
| | | | |
* | | | | Merge topic 'free-free-set-them-free'Brad King2019-09-2419-1042/+763
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 920f0dd83a cmInstallCommand: Port away from cmCommand 1dd31297ca cmTargetLinkLibrariesCommand: Port away from cmCommand d5c63f073f cmSourceGroupCommand: Port away from cmCommand 42e413bcbb cmSetTargetPropertiesCommand: Port away from cmCommand 77aa75b8dc cmProjectCommand: Port away from cmCommand 9c521088df cmLoadCacheCommand: Port away from cmCommand fcfec154ac cmLinkDirectoriesCommand: Port away from cmCommand d038beec21 cmIncludeDirectoryCommand: Port away from cmCommand ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3829
| * | | | | cmInstallCommand: Port away from cmCommandRegina Pfeifer2019-09-213-345/+317
| | | | | |
| * | | | | cmTargetLinkLibrariesCommand: Port away from cmCommandRegina Pfeifer2019-09-213-178/+141
| | | | | |
| * | | | | cmSourceGroupCommand: Port away from cmCommandRegina Pfeifer2019-09-213-85/+49
| | | | | |
| * | | | | cmSetTargetPropertiesCommand: Port away from cmCommandRegina Pfeifer2019-09-213-50/+25
| | | | | |
| * | | | | cmProjectCommand: Port away from cmCommandRegina Pfeifer2019-09-213-139/+95
| | | | | |
| * | | | | cmLoadCacheCommand: Port away from cmCommandRegina Pfeifer2019-09-213-57/+35
| | | | | |
| * | | | | cmLinkDirectoriesCommand: Port away from cmCommandRegina Pfeifer2019-09-213-51/+18
| | | | | |
| * | | | | cmIncludeDirectoryCommand: Port away from cmCommandRegina Pfeifer2019-09-213-57/+25
| | | | | |
| * | | | | cmExportCommand: Port away from cmCommandRegina Pfeifer2019-09-213-80/+58
| | |_|_|/ | |/| | |
* | | | | CMake Nightly Date StampKitware Robot2019-09-241-1/+1
| | | | |
* | | | | Merge topic 'smart_ptr/cmDependsC'Brad King2019-09-232-13/+9
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8d0cec747c cmDependsC: remove cmDeleteAll call Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3842
| * | | | | cmDependsC: remove cmDeleteAll callTushar Maheshwari2019-09-202-13/+9
| |/ / / /
* | | | | Merge topic 'object-library-sources'Brad King2019-09-231-4/+7
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | 71e677392b Do not collect objects from dependencies of object libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3843
| * | | | Do not collect objects from dependencies of object librariesBrad King2019-09-201-4/+7
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Object libraries do not link and therefore do not need to consider the object files from "linked" dependencies on other object libraries. This was an oversight in commit 57538224d0 (objlib: Link object-files from `OBJECT` libraries, 2017-12-14, v3.12.0-rc1~419^2~2). Fixes: #19744 Inspired-by: Julien Finet <julien.finet@kitware.com>
* | | | Merge topic 'HP-UX_Port_GCC'Brad King2019-09-2310-6/+81
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | ba315f2035 bootstrap: Require GCC 4.9 or higher on HP-UX 5ffb2dbff6 libuv: Add partial port to HP-UX 1059f9a96d jsoncpp: Fix compilation on HP-UX 11.31 ia64 with GCC 4.9.3 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3508
| * | | bootstrap: Require GCC 4.9 or higher on HP-UXBrad King2019-09-201-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revise for future removal of the early rejection checks on HP-UX. Our code may now work with GCC 4.9 on HP-UX when manually using `env CXXFLAGS=-D_GLIBCXX_USE_C99` to make the C++11 `std::to_string` available on this platform. However, without nightly testing we cannot officially enable support for the platform. Issue: #17137 Co-Author: Earle Lowe <elowe@elowe.com>
| * | | libuv: Add partial port to HP-UXEarle Lowe2019-09-209-4/+70
| | | | | | | | | | | | | | | | | | | | Port enough of libuv to HP-UX 11.31 ia64 with GCC 4.9.3 to work for CMake.
| * | | jsoncpp: Fix compilation on HP-UX 11.31 ia64 with GCC 4.9.3Earle Lowe2019-09-201-2/+3
| | | | | | | | | | | | | | | | In particular, fix the `isfinite` definition.
* | | | CMake Nightly Date StampKitware Robot2019-09-231-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2019-09-221-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2019-09-211-1/+1
| |/ / |/| |
* | | Merge topic 'cmake-system-headers'Brad King2019-09-20145-272/+528
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 4a08690ccf cmstd: Extend header <cm/iterator> c688b401d3 cmstd: Modernize CMake system headers Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3776
| * | cmstd: Extend header <cm/iterator>Marc Chevrier2019-09-201-0/+138
| | |
| * | cmstd: Modernize CMake system headersMarc Chevrier2019-09-20145-272/+390
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide a standardized way to handle the C++ "standard" headers customized to be used with current CMake C++ standard constraints. Offer under directory `cm` headers which can be used as direct replacements of the standard ones. For example: #include <cm/string_view> can be used safely for CMake development in place of the `<string_view>` standard header. Fixes: #19491
* | | Merge topic 'pch-source-list'Brad King2019-09-203-1/+13
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 9d2ac86f45 Precompile Headers: Add precompile header file to source list Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3832
| * | | Precompile Headers: Add precompile header file to source listCristian Adam2019-09-193-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The precompile header file will be added to the list of files, and be part of the newly "Precompile Header File" source group. Also make sure the sources have the header as dependency.
* | | | Merge topic 'smart_ptr/cmComputeLinkDepends'Brad King2019-09-202-14/+11
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 14da7aedf2 cmComputeLinkDepends: remove manual memory deallocation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3831
| * | | | cmComputeLinkDepends: remove manual memory deallocationTushar Maheshwari2019-09-182-14/+11
| | | | | | | | | | | | | | | | | | | | | | | | | - Replace owning raw `DependSetList` pointer with direct object. - Use an extra `bool Initialized` flag to imitate `nullptr` semantics.