Bläddra i källkod

Ninja: Move rules.ninja into CMakeFiles

Since this is an implementation detail, it should not be user-
visible. Move it into the implementation directory.
Kyle Edwards 5 år sedan
förälder
incheckning
65679ed8d9
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2 1
      Source/cmGlobalNinjaGenerator.cxx

+ 2 - 1
Source/cmGlobalNinjaGenerator.cxx

@@ -46,7 +46,8 @@
 #include "cmake.h"
 #include "cmake.h"
 
 
 const char* cmGlobalNinjaGenerator::NINJA_BUILD_FILE = "build.ninja";
 const char* cmGlobalNinjaGenerator::NINJA_BUILD_FILE = "build.ninja";
-const char* cmGlobalNinjaGenerator::NINJA_RULES_FILE = "rules.ninja";
+const char* cmGlobalNinjaGenerator::NINJA_RULES_FILE =
+  "CMakeFiles/rules.ninja";
 const char* cmGlobalNinjaGenerator::INDENT = "  ";
 const char* cmGlobalNinjaGenerator::INDENT = "  ";
 #ifdef _WIN32
 #ifdef _WIN32
 std::string const cmGlobalNinjaGenerator::SHELL_NOOP = "cd .";
 std::string const cmGlobalNinjaGenerator::SHELL_NOOP = "cd .";