summaryrefslogtreecommitdiffstats
path: root/Source/cmNinjaTargetGenerator.h
diff options
context:
space:
mode:
authorPeter Kuemmel <syntheticpp@gmx.net>2012-03-06 22:41:40 (GMT)
committerDavid Cole <david.cole@kitware.com>2012-03-07 21:24:34 (GMT)
commitdbe3dce54670d774fd43e061be673b11e1dd18de (patch)
tree0d18d9aef32bdd66ff103f04f1f401d6d5373682 /Source/cmNinjaTargetGenerator.h
parentf1bb08f55b1ee0e8ae72d66289ad89ad27d75701 (diff)
downloadCMake-dbe3dce54670d774fd43e061be673b11e1dd18de.zip
CMake-dbe3dce54670d774fd43e061be673b11e1dd18de.tar.gz
CMake-dbe3dce54670d774fd43e061be673b11e1dd18de.tar.bz2
Ninja: add .def file support
Diffstat (limited to 'Source/cmNinjaTargetGenerator.h')
-rw-r--r--Source/cmNinjaTargetGenerator.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmNinjaTargetGenerator.h b/Source/cmNinjaTargetGenerator.h
index f9270a2..3e70a2c 100644
--- a/Source/cmNinjaTargetGenerator.h
+++ b/Source/cmNinjaTargetGenerator.h
@@ -107,12 +107,18 @@ protected:
cmNinjaDeps GetObjects() const
{ return this->Objects; }
+ // Helper to add flag for windows .def file.
+ void AddModuleDefinitionFlag(std::string& flags);
+
private:
cmTarget* Target;
cmMakefile* Makefile;
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