diff options
author | Brad King <brad.king@kitware.com> | 2012-04-02 14:55:01 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-04-02 14:58:56 (GMT) |
commit | d2c764ad8db1a2d920e43f5c78d4ff4b1f643cee (patch) | |
tree | d8d60bf3f53711fb405b6d6166ecdff727cea995 /Source/cmNinjaTargetGenerator.h | |
parent | a2514f15fae34abb6f29dddf6f5cfe8b171a8035 (diff) | |
download | CMake-d2c764ad8db1a2d920e43f5c78d4ff4b1f643cee.zip CMake-d2c764ad8db1a2d920e43f5c78d4ff4b1f643cee.tar.gz CMake-d2c764ad8db1a2d920e43f5c78d4ff4b1f643cee.tar.bz2 |
Ninja: Fix module .def file path conversion
Refactoring in commit a2514f15 (Simplify cmNinjaTargetGenerator using
cmGeneratorTarget, 2012-03-13) accidentally removed mapping of .def file
paths through ConvertToNinjaPath (via GetSourceFilePath). Take the
ModuleDefinitionFile value from cmGeneratorTarget and map it correctly
through ConvertToNinjaPath.
In addition to generating cleaner paths in the ninja build files this
correctly links up references to a generated .def file with the custom
command output that produces it.
Diffstat (limited to 'Source/cmNinjaTargetGenerator.h')
-rw-r--r-- | Source/cmNinjaTargetGenerator.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmNinjaTargetGenerator.h b/Source/cmNinjaTargetGenerator.h index f639116..b64ce1e 100644 --- a/Source/cmNinjaTargetGenerator.h +++ b/Source/cmNinjaTargetGenerator.h @@ -118,6 +118,9 @@ private: cmLocalNinjaGenerator* LocalGenerator; /// List of object files for this target. cmNinjaDeps Objects; + + // The windows module definition source file (.def), if any. + std::string ModuleDefinitionFile; }; #endif // ! cmNinjaTargetGenerator_h |