summaryrefslogtreecommitdiff
path: root/Source/cmGlobalXCodeGenerator.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-03-01 08:28:39 -0500
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-03-01 08:28:39 -0500
commit07260a6f271e73f5c46f6accee1e629499afa5de (patch)
treedf01c41bd8d7b428ac3e0f5d40847954874fcead /Source/cmGlobalXCodeGenerator.cxx
parentd231a422ed888acf774ff251a640e092957ec844 (diff)
downloadcmake-07260a6f271e73f5c46f6accee1e629499afa5de.tar.gz
ENH: Cleanup global targets even more and potentially fix Xcode
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx38
1 files changed, 0 insertions, 38 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index d7736a41fd..cf9a6f284e 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -283,45 +283,7 @@ cmGlobalXCodeGenerator::AddExtraTargets(cmLocalGenerator* root,
no_working_directory,
"echo", "Build all projects");
cmTarget* allbuild = mf->FindTarget("ALL_BUILD");
- // ADD install
- std::string cmake_command = mf->GetRequiredDefinition("CMAKE_COMMAND");
- if(m_XcodeVersion == 15)
- {
- mf->AddUtilityCommand("install", false, no_output, no_depends,
- no_working_directory,
- cmake_command.c_str(),
- "-P", "cmake_install.cmake");
- }
- else
- {
- mf->AddUtilityCommand("install", false, no_output, no_depends,
- no_working_directory,
- cmake_command.c_str(),
- "-DBUILD_TYPE=$(CONFIGURATION)",
- "-P", "cmake_install.cmake");
- }
- const char* noall =
- mf->GetDefinition("CMAKE_SKIP_INSTALL_ALL_DEPENDENCY");
- if(!noall || cmSystemTools::IsOff(noall))
- {
- cmTarget* install = mf->FindTarget("install");
- install->AddUtility("ALL_BUILD");
- }
-
- // Add RUN_TESTS target if testing has been enabled
- std::string fname;
- fname = mf->GetStartOutputDirectory();
- fname += "/";
- fname += "DartTestfile.txt";
- if (cmSystemTools::FileExists(fname.c_str()))
- {
- std::string ctest_command =
- mf->GetRequiredDefinition("CMAKE_CTEST_COMMAND");
- mf->AddUtilityCommand("RUN_TESTS", false, no_output, no_depends,
- no_working_directory,
- ctest_command.c_str());
- }
// Add XCODE depend helper
std::string dir = mf->GetCurrentOutputDirectory();
m_CurrentXCodeHackMakefile = dir;