summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Autogen: Return unsigned int from GetParallelCPUCount()Sebastian Holtermann2019-09-251-6/+5
|
* CMake Nightly Date StampKitware Robot2019-09-251-1/+1
|
* Merge topic 'pch-relative-includes'Brad King2019-09-242-1/+49
|\ | | | | | | | | | | | | 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-232-1/+49
| | | | | | | | | | | | | | 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 '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
| | | | | |