diff options
author | Brad King <brad.king@kitware.com> | 2004-10-26 16:55:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2004-10-26 16:55:20 (GMT) |
commit | 2a7e2adf7a24e6209e94ec47ecc22b89a37d47f7 (patch) | |
tree | 1a722c1056953a076639862b47e3027b561a87e9 /Source/cmake.cxx | |
parent | 3e59af4dcd9a59aee5d2089d26c4b92f781d55a2 (diff) | |
download | CMake-2a7e2adf7a24e6209e94ec47ecc22b89a37d47f7.zip CMake-2a7e2adf7a24e6209e94ec47ecc22b89a37d47f7.tar.gz CMake-2a7e2adf7a24e6209e94ec47ecc22b89a37d47f7.tar.bz2 |
ENH: Added object file dependency scanning to cmLocalUnixMakefileGenerator2. This needs a hook in cmake.cxx.
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index d5be496..1f938ab 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -24,6 +24,8 @@ #include "cmVariableWatch.h" #include "cmVersion.h" +#include "cmLocalUnixMakefileGenerator2.h" + // only build kdevelop generator on non-windows platforms // when not bootstrapping cmake #if !defined(_WIN32) @@ -822,6 +824,12 @@ int cmake::CMakeCommand(std::vector<std::string>& args) return result; } + // Internal CMake dependency scanning support. + else if (args[1] == "cmake_depends" && args.size() >= 5) + { + return cmLocalUnixMakefileGenerator2::ScanDependencies(args)? 0 : 1; + } + #if defined(_WIN32) && !defined(__CYGWIN__) // Write registry value else if (args[1] == "write_regv" && args.size() > 3) |