diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2016-10-13 15:14:21 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-11-14 21:40:48 (GMT) |
commit | 43ce4414c479af6b04e93decaf7f69938c92a323 (patch) | |
tree | 08e291aac33ae4099d8e7b317d46419aec2f7964 /Source/cmNinjaNormalTargetGenerator.h | |
parent | 4b316097103e0f30220fd579bce28163d38458bf (diff) | |
download | CMake-43ce4414c479af6b04e93decaf7f69938c92a323.zip CMake-43ce4414c479af6b04e93decaf7f69938c92a323.tar.gz CMake-43ce4414c479af6b04e93decaf7f69938c92a323.tar.bz2 |
CUDA: Add separable compilation support to the ninja generator.
Diffstat (limited to 'Source/cmNinjaNormalTargetGenerator.h')
-rw-r--r-- | Source/cmNinjaNormalTargetGenerator.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/cmNinjaNormalTargetGenerator.h b/Source/cmNinjaNormalTargetGenerator.h index 5bd906f..e5595ea 100644 --- a/Source/cmNinjaNormalTargetGenerator.h +++ b/Source/cmNinjaNormalTargetGenerator.h @@ -22,12 +22,21 @@ public: private: std::string LanguageLinkerRule() const; + std::string LanguageLinkerDeviceRule() const; + const char* GetVisibleTypeName() const; void WriteLanguagesRules(); + void WriteLinkRule(bool useResponseFile); + void WriteDeviceLinkRule(bool useResponseFile); + void WriteLinkStatement(); + void WriteDeviceLinkStatement(); + void WriteObjectLibStatement(); + std::vector<std::string> ComputeLinkCmd(); + std::vector<std::string> ComputeDeviceLinkCmd(); private: // Target name info. @@ -37,6 +46,7 @@ private: std::string TargetNameImport; std::string TargetNamePDB; std::string TargetLinkLanguage; + std::string DeviceLinkObject; }; #endif // ! cmNinjaNormalTargetGenerator_h |