diff options
author | Brad King <brad.king@kitware.com> | 2008-02-14 16:58:32 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-02-14 16:58:32 (GMT) |
commit | 5b02a4a864d2e68c683be6275709ce3e38d51fee (patch) | |
tree | 70b57c336d56db5afe08acfb7ab0ed4aa84c5b1b /Source/cmCommands.cxx | |
parent | 8375bb4768f29f595c66140b77dd6b01713afb79 (diff) | |
download | CMake-5b02a4a864d2e68c683be6275709ce3e38d51fee.zip CMake-5b02a4a864d2e68c683be6275709ce3e38d51fee.tar.gz CMake-5b02a4a864d2e68c683be6275709ce3e38d51fee.tar.bz2 |
ENH: Re-enable diagnosis of non-unique target names.
- Re-enable enforcement in cmMakefile::EnforceUniqueName
- Improve error message to help user resolve the problem
- Fix Modules/CTestTargets.cmake to not duplicate testing targets
- Move commands used by the changes to Modules/CTestTargets.cmake
to build during bootstrap: DEFINE_PROPERTY, GET_PROPERTY
Diffstat (limited to 'Source/cmCommands.cxx')
-rw-r--r-- | Source/cmCommands.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/cmCommands.cxx b/Source/cmCommands.cxx index ff733eb..42ec776 100644 --- a/Source/cmCommands.cxx +++ b/Source/cmCommands.cxx @@ -18,14 +18,12 @@ #if defined(CMAKE_BUILD_WITH_CMAKE) #include "cmAuxSourceDirectoryCommand.cxx" #include "cmBuildNameCommand.cxx" -#include "cmDefinePropertyCommand.cxx" #include "cmElseIfCommand.cxx" #include "cmEnableLanguageCommand.cxx" #include "cmEndWhileCommand.cxx" #include "cmExportCommand.cxx" #include "cmExportLibraryDependencies.cxx" #include "cmFLTKWrapUICommand.cxx" -#include "cmGetPropertyCommand.cxx" #include "cmGetTestPropertyCommand.cxx" #include "cmIncludeExternalMSProjectCommand.cxx" #include "cmInstallCommand.cxx" @@ -64,14 +62,12 @@ void GetPredefinedCommands(std::list<cmCommand*>& #if defined(CMAKE_BUILD_WITH_CMAKE) commands.push_back(new cmAuxSourceDirectoryCommand); commands.push_back(new cmBuildNameCommand); - commands.push_back(new cmDefinePropertyCommand); commands.push_back(new cmElseIfCommand); commands.push_back(new cmEnableLanguageCommand); commands.push_back(new cmEndWhileCommand); commands.push_back(new cmExportCommand); commands.push_back(new cmExportLibraryDependenciesCommand); commands.push_back(new cmFLTKWrapUICommand); - commands.push_back(new cmGetPropertyCommand); commands.push_back(new cmGetTestPropertyCommand); commands.push_back(new cmIncludeExternalMSProjectCommand); commands.push_back(new cmInstallCommand); |