summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileTargetGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-02-27 22:10:45 (GMT)
committerBrad King <brad.king@kitware.com>2008-02-27 22:10:45 (GMT)
commitdfe2ea6406d3ab22f1a4193906611fb67fd3ab6e (patch)
treee00166515d5fe978ef5fe0dd15852790145951e0 /Source/cmMakefileTargetGenerator.h
parent4c137bad6b663ff342064c293a49fecf03498207 (diff)
downloadCMake-dfe2ea6406d3ab22f1a4193906611fb67fd3ab6e.zip
CMake-dfe2ea6406d3ab22f1a4193906611fb67fd3ab6e.tar.gz
CMake-dfe2ea6406d3ab22f1a4193906611fb67fd3ab6e.tar.bz2
ENH: Handle large object file lists on some platforms
- Use a response file when enabled by CMAKE_<LANG>_USE_RESPONSE_FILE_FOR_OBJECTS - Enable for C and CXX with cl (MSVC) - Enable for Fortran with ifort (Intel Fortran)
Diffstat (limited to 'Source/cmMakefileTargetGenerator.h')
-rw-r--r--Source/cmMakefileTargetGenerator.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmMakefileTargetGenerator.h b/Source/cmMakefileTargetGenerator.h
index 1039f3d..3a6ec0d 100644
--- a/Source/cmMakefileTargetGenerator.h
+++ b/Source/cmMakefileTargetGenerator.h
@@ -137,6 +137,13 @@ protected:
std::vector<std::string>& makefile_commands,
std::vector<std::string>& makefile_depends);
+ /** Create a response file with the given set of options. Returns
+ the relative path from the target build working directory to the
+ response file name. */
+ std::string CreateResponseFile(const char* name,
+ std::string const& options,
+ std::vector<std::string>& makefile_depends);
+
virtual void CloseFileStreams();
void RemoveForbiddenFlags(const char* flagVar, const char* linkLang,
std::string& linkFlags);