summaryrefslogtreecommitdiffstats
path: root/Source/cmCommands.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'cmCommand_refactor'Brad King2019-08-221-51/+35
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6ab28b9413 cmCommand refactor: cmStringCommand 36f32d3604 cmCommand refactor: cmSetPropertyCommand 7c83c19205 cmCommand refactor: cmSetDirectoryPropertiesCommand 9413952c42 cmCommand refactor: cmCMakePolicyCommand 07ea93de54 cmCommand refactor: cmWriteFileCommand ca3b9186bb cmCommand refactor: cmVariableWatchCommand b1acc711f4 cmCommand refactor: cmRemoveCommand 413a960391 cmCommand refactor: cmCMakeHostSystemInformationCommand ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3673
| * cmCommand refactor: cmStringCommandGabor Bencze2019-08-201-1/+1
| |
| * cmCommand refactor: cmSetPropertyCommandGabor Bencze2019-08-201-2/+1
| |
| * cmCommand refactor: cmSetDirectoryPropertiesCommandGabor Bencze2019-08-201-1/+1
| |
| * cmCommand refactor: cmCMakePolicyCommandGabor Bencze2019-08-201-2/+1
| |
| * cmCommand refactor: cmWriteFileCommandGabor Bencze2019-08-201-2/+1
| |
| * cmCommand refactor: cmVariableWatchCommandGabor Bencze2019-08-201-2/+1
| |
| * cmCommand refactor: cmRemoveCommandGabor Bencze2019-08-201-1/+1
| |
| * cmCommand refactor: cmCMakeHostSystemInformationCommandGabor Bencze2019-08-201-3/+2
| |
| * cmCommand refactor: cmUnsetCommandGabor Bencze2019-08-201-1/+1
| |
| * cmCommand refactor: cmSiteNameCommandGabor Bencze2019-08-201-1/+1
| |
| * cmCommand refactor: cmSetCommandGabor Bencze2019-08-201-1/+1
| |
| * cmCommand refactor: cmSeparateArgumentsCommandGabor Bencze2019-08-201-2/+1
| |
| * cmCommand refactor: cmParseArgumentsCommandGabor Bencze2019-08-201-2/+1
| |
| * cmCommand refactor: cmOptionCommandGabor Bencze2019-08-201-1/+1
| |
| * cmCommand refactor: CmMessageCommandGabor Bencze2019-08-201-1/+1
| |
| * cmCommand refactor: cmMathCommandGabor Bencze2019-08-201-1/+1
| |
| * cmCommand refactor: cmMarkAsAdvancedCommandGabor Bencze2019-08-201-2/+1
| |
| * cmCommand refactor: cmMakeDirectoryCommandGabor Bencze2019-08-201-2/+1
| |
| * cmCommand refactor: cmListCommandGabor Bencze2019-08-201-1/+1
| |
| * cmCommand refactor: cmMacroCommandGabor Bencze2019-08-201-1/+1
| |
| * cmCommand refactor: cmIncludeGuardCommandGabor Bencze2019-08-201-2/+1
| |
| * cmCommand refactor: cmIncludeCommandGabor Bencze2019-08-201-1/+1
| |
| * cmCommand_refactor: cmGetPropertyCommandGabor Bencze2019-08-201-2/+1
| |
| * cmCommand refactor: cmGetFilenameComponentCommandGabor Bencze2019-08-201-1/+1
| |
| * cmCommand refactor: cmGetDirectoryPropertyCommandGabor Bencze2019-08-201-1/+1
| |
| * cmCommand refactor: cmGetCMakePropertyCommandGabor Bencze2019-08-201-2/+1
| |
| * cmCommand refactor: cmFunctionCommandGabor Bencze2019-08-201-1/+1
| |
| * cmCommand refactor: cmForEachCommandGabor Bencze2019-08-201-1/+1
| |
| * cmCommand refactor: cmExecuteProcessCommandGabor Bencze2019-08-201-2/+1
| |
| * cmCommand refactor: cmExecProgramCommandGabor Bencze2019-08-201-2/+1
| |
| * cmCommand refactor: cmContinueCommandGabor Bencze2019-08-201-1/+1
| |
| * cmCommand refactor: cmConfigureFileCommandGabor Bencze2019-08-201-2/+1
| |
| * cmCommand refactor: cmCMakeMinimumRequiredGabor Bencze2019-08-201-2/+1
| |
| * cmCommand refactor: cmBreakCommandGabor Bencze2019-08-201-1/+1
| |
* | Merge topic 'free-disallowed'Brad King2019-08-211-1/+1
|\ \ | |/ |/| | | | | | | | | | | c55fb044a9 cmBuildNameCommand: Implement as free function 86bf1eef75 cmState: Support free function disallowed commands Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3688
| * cmBuildNameCommand: Implement as free functionRegina Pfeifer2019-08-161-1/+1
| |
* | Merge topic 'free-command-a'Kyle Edwards2019-08-131-21/+12
|\ \ | | | | | | | | | | | | | | | | | | 9ba0bf60c6 cmA*Command: Turn into free functions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3660
| * | cmA*Command: Turn into free functionsRegina Pfeifer2019-08-071-21/+12
| | | | | | | | | | | | Ref: #19499
* | | Refactor: Convert all instances of CMAKE_BUILD_WITH_CMAKE to CMAKE_BOOTSTRAPKitware Robot2019-08-091-3/+3
| |/ |/|
* | cmFileCommand: turn into free functionRegina Pfeifer2019-08-061-1/+1
|/
* cmState: Support BuiltinCommands as free functionsRegina Pfeifer2019-07-221-3/+2
|
* cmCommand: De-virtualize function InvokeInitialPassRegina Pfeifer2019-07-211-2/+2
|
* modernize: manage cmCommand instances using unique_ptr.Marc Chevrier2019-07-141-109/+160
|
* Merge topic 'set_directory_properties-script-mode'Brad King2018-10-301-2/+2
|\ | | | | | | | | | | | | 50572d638b set_directory_properties: Restore in script mode Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2544
| * set_directory_properties: Restore in script modeBrad King2018-10-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Since commit v3.10.0-rc1~391^2~3 (Add directory property 'LABELS' and CMAKE_DIRECTORY_LABELS variable, 2017-06-23) this command was accidentally not allowed in script mode. It was dropped because `ctest -S` mode needs to start with CMake's normal script mode and then replace the `set_directory_properties` implementation. Restore the normal `set_directory_properties` in script mode and then add special logic to replace it in ctest. Also add a test case. Fixes: #18523
* | LINK_DIRECTORIES: Add new properties and commandsMarc Chevrier2018-09-251-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | These new capabilities enable to manage link directories Two new properties: * target properties: LINK_DIRECTORIES and INTERFACE_LINK_DIRECTORIES One new command * target_link_directories(): to populate target properties Fixes: #17215
* | LINK_OPTIONS: Add new family of propertiesMarc Chevrier2018-06-061-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This family enable to manage link flags Three new properties: * directory property: LINK_OPTIONS * target properties: LINK_OPTIONS and INTERFACE_LINK_OPTIONS Two new commands * add_link_options(): to populate directory property * target_link_options(): to populate target properties Fixes: #16543
* | Revise C++ coding style using clang-format-6.0Kitware Robot2018-06-011-44/+51
| | | | | | | | | | | | | | | | | | | | | | | | Run the `clang-format.bash` script to update all our C and C++ code to a new style defined by `.clang-format`. Use `clang-format` version 6.0. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit.
* | add_compile_definitions: add new commandMarc Chevrier2018-04-201-0/+3
| | | | | | | | | | | | | | This command manages preprocessor definitions at directory level and supports generator expressions. Fixes: #15374