summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileLibraryTargetGenerator.h
diff options
context:
space:
mode:
authorRobert Maynard <robert.maynard@kitware.com>2016-10-21 18:17:42 (GMT)
committerBrad King <brad.king@kitware.com>2016-11-14 21:40:49 (GMT)
commitd038559e49b0d0dd65124370f48a92ba3de9006c (patch)
tree690627ae383a74ab82be197a83068a51ab7dc8cf /Source/cmMakefileLibraryTargetGenerator.h
parent43ce4414c479af6b04e93decaf7f69938c92a323 (diff)
downloadCMake-d038559e49b0d0dd65124370f48a92ba3de9006c.zip
CMake-d038559e49b0d0dd65124370f48a92ba3de9006c.tar.gz
CMake-d038559e49b0d0dd65124370f48a92ba3de9006c.tar.bz2
CUDA: Add separable compilation support to the makefile generator.
Diffstat (limited to 'Source/cmMakefileLibraryTargetGenerator.h')
-rw-r--r--Source/cmMakefileLibraryTargetGenerator.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmMakefileLibraryTargetGenerator.h b/Source/cmMakefileLibraryTargetGenerator.h
index dda41b8..93ce902 100644
--- a/Source/cmMakefileLibraryTargetGenerator.h
+++ b/Source/cmMakefileLibraryTargetGenerator.h
@@ -26,6 +26,9 @@ protected:
void WriteStaticLibraryRules();
void WriteSharedLibraryRules(bool relink);
void WriteModuleLibraryRules(bool relink);
+
+ void WriteDeviceLibraryRules(const std::string& linkRule,
+ const std::string& extraFlags, bool relink);
void WriteLibraryRules(const std::string& linkRule,
const std::string& extraFlags, bool relink);
// MacOSX Framework support methods
@@ -33,6 +36,9 @@ protected:
// Store the computd framework version for OS X Frameworks.
std::string FrameworkVersion;
+
+private:
+ std::string DeviceLinkObject;
};
#endif