summaryrefslogtreecommitdiff
path: root/Source/cmNinjaNormalTargetGenerator.h
diff options
context:
space:
mode:
authorRobert Maynard <robert.maynard@kitware.com>2016-10-13 11:14:21 -0400
committerBrad King <brad.king@kitware.com>2016-11-14 16:40:48 -0500
commit43ce4414c479af6b04e93decaf7f69938c92a323 (patch)
tree08e291aac33ae4099d8e7b317d46419aec2f7964 /Source/cmNinjaNormalTargetGenerator.h
parent4b316097103e0f30220fd579bce28163d38458bf (diff)
downloadcmake-43ce4414c479af6b04e93decaf7f69938c92a323.tar.gz
CUDA: Add separable compilation support to the ninja generator.
Diffstat (limited to 'Source/cmNinjaNormalTargetGenerator.h')
-rw-r--r--Source/cmNinjaNormalTargetGenerator.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/cmNinjaNormalTargetGenerator.h b/Source/cmNinjaNormalTargetGenerator.h
index 5bd906f7d7..e5595ea086 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