diff options
author | Brad King <brad.king@kitware.com> | 2014-03-04 18:25:42 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-05 18:07:41 (GMT) |
commit | 489b1c23b9a880da0012427b60cce7b6f5ddaa27 (patch) | |
tree | b2688130d3a3af8bd6bd9e3d230510508069afde /Source/cmMakefileTargetGenerator.h | |
parent | 745caae6dddc9ab5c38a669adf3906f6e3484c80 (diff) | |
download | CMake-489b1c23b9a880da0012427b60cce7b6f5ddaa27.zip CMake-489b1c23b9a880da0012427b60cce7b6f5ddaa27.tar.gz CMake-489b1c23b9a880da0012427b60cce7b6f5ddaa27.tar.bz2 |
Windows: Use response files to specify link libraries for GNU tools
Work around the command-line-length limit by using an @linklibs.rsp
response file to pass the flags for link libraries. This allows
very long lists of libraries to be used in addition to the existing
support for passing object files via response file.
Suggested-by: Peter Keuschnigg <peter.keuschnigg@pmu.ac.at>
Diffstat (limited to 'Source/cmMakefileTargetGenerator.h')
-rw-r--r-- | Source/cmMakefileTargetGenerator.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmMakefileTargetGenerator.h b/Source/cmMakefileTargetGenerator.h index d47708d..72dc6bc 100644 --- a/Source/cmMakefileTargetGenerator.h +++ b/Source/cmMakefileTargetGenerator.h @@ -165,6 +165,7 @@ protected: /** Create list of flags for link libraries. */ void CreateLinkLibs(std::string& linkLibs, bool relink, + bool useResponseFile, std::vector<std::string>& makefile_depends); /** Create lists of object files for linking and cleaning. */ |