ERR: Changed generation of rule to generate cable_config.xml to be produced differently for windows and unix.
This commit is contained in:
parent
31ae187d0c
commit
28cdb19782
|
@ -84,12 +84,18 @@ void cmCableCommand::SetupCableData()
|
||||||
std::string cMakeLists = m_Makefile->GetStartDirectory();
|
std::string cMakeLists = m_Makefile->GetStartDirectory();
|
||||||
cMakeLists += "/";
|
cMakeLists += "/";
|
||||||
cMakeLists += "CMakeLists.txt";
|
cMakeLists += "CMakeLists.txt";
|
||||||
std::string command = m_Makefile->GetHomeOutputDirectory();
|
|
||||||
command += "/CMake/Source/";
|
std::string command;
|
||||||
command += cmSystemTools::GetCMakeExecutableName();
|
#if defined(_WIN32) && !defined(__CYGWIN__)
|
||||||
command += " " + cMakeLists;
|
command = m_Makefile->GetHomeDirectory();
|
||||||
command += " ";
|
command += "/CMake/Source/CMakeSetupCMD ";
|
||||||
command += cmSystemTools::GetCMakeExecutableOptions();
|
command += cMakeLists;
|
||||||
|
command += " -DSP";
|
||||||
|
#else
|
||||||
|
command = m_Makefile->GetHomeOutputDirectory();
|
||||||
|
command += "/CMake/Source/CMakeBuildTargets ";
|
||||||
|
command += cMakeLists;
|
||||||
|
#endif
|
||||||
command += " -H";
|
command += " -H";
|
||||||
command += m_Makefile->GetHomeDirectory();
|
command += m_Makefile->GetHomeDirectory();
|
||||||
command += " -S";
|
command += " -S";
|
||||||
|
|
Loading…
Reference in New Issue