summaryrefslogtreecommitdiffstats
path: root/Source/cmAddCustomCommandCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-10-15 18:32:38 (GMT)
committerBrad King <brad.king@kitware.com>2020-10-27 18:58:15 (GMT)
commitfab772c3e16862c7e8200b1e6a77d7f8abc1055e (patch)
tree5e890c727b6aa799075032fc7ff6d7e393a3239e /Source/cmAddCustomCommandCommand.cxx
parent84fecbf2141c892009ce40d852f9ebf0f79be25a (diff)
downloadCMake-fab772c3e16862c7e8200b1e6a77d7f8abc1055e.zip
CMake-fab772c3e16862c7e8200b1e6a77d7f8abc1055e.tar.gz
CMake-fab772c3e16862c7e8200b1e6a77d7f8abc1055e.tar.bz2
cmAddCustomCommandCommand: Drop outdated comment
Diffstat (limited to 'Source/cmAddCustomCommandCommand.cxx')
-rw-r--r--Source/cmAddCustomCommandCommand.cxx10
1 files changed, 1 insertions, 9 deletions
diff --git a/Source/cmAddCustomCommandCommand.cxx b/Source/cmAddCustomCommandCommand.cxx
index a8f7509..c1f98fa 100644
--- a/Source/cmAddCustomCommandCommand.cxx
+++ b/Source/cmAddCustomCommandCommand.cxx
@@ -190,15 +190,7 @@ bool cmAddCustomCommandCommand(std::vector<std::string> const& args,
case doing_byproducts:
if (!cmSystemTools::FileIsFullPath(copy)) {
// This is an output to be generated, so it should be
- // under the build tree. CMake 2.4 placed this under the
- // source tree. However the only case that this change
- // will break is when someone writes
- //
- // add_custom_command(OUTPUT out.txt ...)
- //
- // and later references "${CMAKE_CURRENT_SOURCE_DIR}/out.txt".
- // This is fairly obscure so we can wait for someone to
- // complain.
+ // under the build tree.
filename = cmStrCat(mf.GetCurrentBinaryDirectory(), '/');
}
filename += copy;