diff options
author | Brad King <brad.king@kitware.com> | 2020-10-15 14:32:38 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-10-27 14:58:15 -0400 |
commit | fab772c3e16862c7e8200b1e6a77d7f8abc1055e (patch) | |
tree | 5e890c727b6aa799075032fc7ff6d7e393a3239e /Source/cmAddCustomCommandCommand.cxx | |
parent | 84fecbf2141c892009ce40d852f9ebf0f79be25a (diff) | |
download | cmake-fab772c3e16862c7e8200b1e6a77d7f8abc1055e.tar.gz |
cmAddCustomCommandCommand: Drop outdated comment
Diffstat (limited to 'Source/cmAddCustomCommandCommand.cxx')
-rw-r--r-- | Source/cmAddCustomCommandCommand.cxx | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/Source/cmAddCustomCommandCommand.cxx b/Source/cmAddCustomCommandCommand.cxx index a8f750914b..c1f98fa5bc 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; |