diff options
author | Morné Chamberlain <thefreeman.za@gmail.com> | 2012-10-14 10:11:32 (GMT) |
---|---|---|
committer | Morné Chamberlain <thefreeman.za@gmail.com> | 2012-10-14 10:11:32 (GMT) |
commit | 9657acb55a62f2e37a0378d01e93ab2ee4d151be (patch) | |
tree | 0541bc3b60efd05c51525835844c1100ebe68bb6 /Source/cmExtraSublimeTextGenerator.cxx | |
parent | 6742ee747f5d55bef73bed2c70611e8542f28f43 (diff) | |
download | CMake-9657acb55a62f2e37a0378d01e93ab2ee4d151be.zip CMake-9657acb55a62f2e37a0378d01e93ab2ee4d151be.tar.gz CMake-9657acb55a62f2e37a0378d01e93ab2ee4d151be.tar.bz2 |
The generator no longer generates absolute paths to the ninja.build/Makefiles.
Diffstat (limited to 'Source/cmExtraSublimeTextGenerator.cxx')
-rw-r--r-- | Source/cmExtraSublimeTextGenerator.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Source/cmExtraSublimeTextGenerator.cxx b/Source/cmExtraSublimeTextGenerator.cxx index ab8af7e..af26965 100644 --- a/Source/cmExtraSublimeTextGenerator.cxx +++ b/Source/cmExtraSublimeTextGenerator.cxx @@ -351,17 +351,16 @@ void cmExtraSublimeTextGenerator::AppendTarget(cmGeneratedFileStream& fout, } } - // Write out the build_system data for this target - std::string makefileName = makefile->GetHomeOutputDirectory(); // Ninja uses ninja.build files (look for a way to get the output file name - // from cmMakefile) + // from cmMakefile or something) + std::string makefileName; if (strcmp(this->GlobalGenerator->GetName(), "Ninja")==0) { - makefileName += "/build.ninja"; + makefileName = "build.ninja"; } else { - makefileName += "/Makefile"; + makefileName = "Makefile"; } if (!firstTarget) { |