diff options
author | Shane Parris <shane.lee.parris@gmail.com> | 2018-01-26 18:42:35 (GMT) |
---|---|---|
committer | Shane Parris <shane.lee.parris@gmail.com> | 2018-02-15 15:54:18 (GMT) |
commit | 602988e1e568048dd30e9e2213bc788f7c7ff708 (patch) | |
tree | b151fbe9f470fbd8e6e6dee34a43356fda794343 /Source/cmcmd.cxx | |
parent | a2ec98b7d97df67d50e90e790b2bd235f7c278cc (diff) | |
download | CMake-602988e1e568048dd30e9e2213bc788f7c7ff708.zip CMake-602988e1e568048dd30e9e2213bc788f7c7ff708.tar.gz CMake-602988e1e568048dd30e9e2213bc788f7c7ff708.tar.bz2 |
Adds file(TOUCH) and file(TOUCH_NOCREATE) sub-commands
Diffstat (limited to 'Source/cmcmd.cxx')
-rw-r--r-- | Source/cmcmd.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/cmcmd.cxx b/Source/cmcmd.cxx index 0988c3c..e7d92d4 100644 --- a/Source/cmcmd.cxx +++ b/Source/cmcmd.cxx @@ -689,8 +689,6 @@ int cmcmd::ExecuteCMakeCommand(std::vector<std::string>& args) // Touch file if (args[1] == "touch_nocreate" && args.size() > 2) { for (std::string::size_type cc = 2; cc < args.size(); cc++) { - // Complain if the file could not be removed, still exists, - // and the -f option was not given. if (!cmSystemTools::Touch(args[cc], false)) { return 1; } |