summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* 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 '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>
* | 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-20134-1207/+197
|\ | | | | | | | | | | | | | | 4a08690ccf cmstd: Extend header <cm/iterator> c688b401d3 cmstd: Modernize CMake system headers Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3776
| * cmstd: Modernize CMake system headersMarc Chevrier2019-09-20134-1207/+197
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge topic 'smart_ptr/cmExportSet'Brad King2019-09-2012-118/+75
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 71f088f53a cmExportSet: subsume cmExportSetMap source files 6511fa6f33 cmExportSet: default destructor 9b8a1f7c28 cmExportSetMap: improve ownership of cmExportSet Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3816
| * | | | cmExportSet: subsume cmExportSetMap source filesTushar Maheshwari2019-09-1911-51/+30
| | | | |
| * | | | cmExportSet: default destructorTushar Maheshwari2019-09-197-31/+34
| | | | |
| * | | | cmExportSetMap: improve ownership of cmExportSetTushar Maheshwari2019-09-195-47/+22
| | | | | | | | | | | | | | | | | | | | | | | | | - use `std::piecewise_construct` to fix gcc-4.8 build. - can use `emplace(name, name)` gcc-6 onwards.
* | | | | Merge topic 'split-custom-command-creation'Brad King2019-09-204-107/+263
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0e1faa28cb cmMakefile: Separate custom command setup from actual creation 56c204e8eb cmMakefile: Refactor AddCustomCommandOldStyle to be delay friendly 3061dc6ac9 add_custom_command: Add tests for rejecting literal quotes in commands e893ab94ba cmMakefile: Validate command line for all custom commands f1e846fdde cmMakefile: Extract custom command validation method 4926ab2454 cmMakefile: Create all generated byproducts as known sources Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3822
| * | | | | cmMakefile: Separate custom command setup from actual creationDaniel Eiband2019-09-174-63/+184
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactor custom command manipulation functions to consist of a setup and a commit stage. The commit stage will be delayed to generate time.
| * | | | | cmMakefile: Refactor AddCustomCommandOldStyle to be delay friendlyDaniel Eiband2019-09-171-27/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Custom command functions consist of two parts: setup and commit. Only the commit part will be delayed to generate time. This change puts the commit part of AddCustomCommandOldStyle into a lambda. When delayed, it will not be possible to break the loop over the outputs if an error occurs which seems reasonable.
| * | | | | cmMakefile: Validate command line for all custom commandsDaniel Eiband2019-09-172-40/+54
| | | | | |
| * | | | | cmMakefile: Extract custom command validation methodDaniel Eiband2019-09-172-8/+21
| | | | | |
| * | | | | cmMakefile: Create all generated byproducts as known sourcesDaniel Eiband2019-09-172-8/+7
| | | | | |
* | | | | | Merge topic 'prepare-genex-in-byproducts'Brad King2019-09-205-45/+49
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a583b7bc17 Genex: Evaluate byproduct generator expressions in cmCustomCommandGenerator ccc9685cc1 Genex: Move genex expansion of paths into AppendPaths utility 026ef9b312 Refactoring: Use ConfigName instead of property CMAKE_BUILD_TYPE Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3797
| * | | | | | Genex: Evaluate byproduct generator expressions in cmCustomCommandGeneratorDaniel Eiband2019-09-173-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Evaluate and expand generator expressions in byproducts of custom commands. Note that it is still not possible to use generator expressions in byproducts of the commands `add_custom_command` and `add_custom_target`. These commands still reject the input. This is a preparation step for OUTPUT generator expression support. Issue: #12877
| * | | | | | Genex: Move genex expansion of paths into AppendPaths utilityDaniel Eiband2019-09-171-14/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactored internals of cmCustomCommandGenerator to make processing of path lists (evaluation of generator expressions and expansion into a list) available as AppendPaths utility function to be used for byproduct generator expression support.
| * | | | | | Refactoring: Use ConfigName instead of property CMAKE_BUILD_TYPEDaniel Eiband2019-09-173-29/+20
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | Use memorized `this->ConfigName` instead of retrieving the value of property CMAKE_BUILD_TYPE.
* | | | | | Merge topic 'fileapiLinkPathAndLinkDirBacktraces'Brad King2019-09-2010-61/+220
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4d6334824d fileapi: add backtraces for LINK_PATH and LINK_DIRECTORIES 5bd65dff7a cmLocalGenerator: Add OutputLinkLibraries overload with backtraces 5d39e792ae cmGeneratorTarget: Store backtrace for target LINK_DIRECTORIES property 7da17ef797 cmLinkLineComputer: Add ComputeLinkLibraries overload with backtraces d4d0dd0f6a cmLinkLineComputer: Add ComputeLinkLibs overload with backtraces 0ac9dcb807 cmLinkLineComputer: Add ComputeLinkPath overload with backtraces 0c6468178a cmComputeLinkInformation: Add GetDirectoriesWithBacktraces a209b31d0d cmComputeLinkInformation: Add AppendValues with backtraces Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3805
| * | | | | | fileapi: add backtraces for LINK_PATH and LINK_DIRECTORIESJustin Goshi2019-09-183-20/+27
| | | | | | |
| * | | | | | cmLocalGenerator: Add OutputLinkLibraries overload with backtracesJustin Goshi2019-09-182-4/+21
| | | | | | |
| * | | | | | cmGeneratorTarget: Store backtrace for target LINK_DIRECTORIES propertyJustin Goshi2019-09-181-1/+1
| | | | | | |
| * | | | | | cmLinkLineComputer: Add ComputeLinkLibraries overload with backtracesJustin Goshi2019-09-184-22/+63
| | | | | | |
| * | | | | | cmLinkLineComputer: Add ComputeLinkLibs overload with backtracesJustin Goshi2019-09-183-6/+35
| | | | | | |