diff options
author | Brad King <brad.king@kitware.com> | 2016-07-11 18:31:32 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-07-11 18:32:50 (GMT) |
commit | b7a94fbb708c989034d54044c7e1891bb76ae690 (patch) | |
tree | 0016ad55dcac89006ef2a0bb78337ae80240834f /Source/cmcmd.cxx | |
parent | 507aa256e517e33aa109b854b444b08863447cf4 (diff) | |
download | CMake-b7a94fbb708c989034d54044c7e1891bb76ae690.zip CMake-b7a94fbb708c989034d54044c7e1891bb76ae690.tar.gz CMake-b7a94fbb708c989034d54044c7e1891bb76ae690.tar.bz2 |
cmake: Drop unused -E cmake_call_visual_studio_macro code
This code has not been compiled since commit v3.0.0-rc1~556^2 (cmake:
Split -E command implementation into separate source file, 2013-10-03).
It appears the code was never used since it was added anyway.
Diffstat (limited to 'Source/cmcmd.cxx')
-rw-r--r-- | Source/cmcmd.cxx | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/Source/cmcmd.cxx b/Source/cmcmd.cxx index 010a3b2..0dac7b5 100644 --- a/Source/cmcmd.cxx +++ b/Source/cmcmd.cxx @@ -28,7 +28,6 @@ #include <cmsys/Terminal.h> #if defined(CMAKE_HAVE_VS_GENERATORS) -#include "cmCallVisualStudioMacro.h" #include "cmVisualStudioWCEPlatformParser.h" #endif @@ -672,29 +671,6 @@ int cmcmd::ExecuteCMakeCommand(std::vector<std::string>& args) return cmcmd::SymlinkExecutable(args); } -#if defined(CMAKE_HAVE_VS_GENERATORS) - // Internal CMake support for calling Visual Studio macros. - else if (args[1] == "cmake_call_visual_studio_macro" && args.size() >= 4) { - // args[2] = full path to .sln file or "ALL" - // args[3] = name of Visual Studio macro to call - // args[4..args.size()-1] = [optional] args for Visual Studio macro - - std::string macroArgs; - - if (args.size() > 4) { - macroArgs = args[4]; - - for (size_t i = 5; i < args.size(); ++i) { - macroArgs += " "; - macroArgs += args[i]; - } - } - - return cmCallVisualStudioMacro::CallMacro(args[2], args[3], macroArgs, - true); - } -#endif - // Internal CMake dependency scanning support. else if (args[1] == "cmake_depends" && args.size() >= 6) { // Use the make system's VERBOSE environment variable to enable |