summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallTargetGenerator.cxx
diff options
context:
space:
mode:
authorViktor Mukha <viktor.m@l4b-software.com>2018-05-16 08:04:04 (GMT)
committerBrad King <brad.king@kitware.com>2018-05-16 16:48:20 (GMT)
commitb6c49713b35cf1ab9c0bff30cb7a6e20a8f3b481 (patch)
tree00a8a77dbb01551e32927b39ccc8977e28998d02 /Source/cmInstallTargetGenerator.cxx
parentc698dbd45d0f51b5b13d728a2216308c6a11478e (diff)
downloadCMake-b6c49713b35cf1ab9c0bff30cb7a6e20a8f3b481.zip
CMake-b6c49713b35cf1ab9c0bff30cb7a6e20a8f3b481.tar.gz
CMake-b6c49713b35cf1ab9c0bff30cb7a6e20a8f3b481.tar.bz2
Makefile: Fix command line limits for static libs
I have been hitting the Windows command-line limit when cross-compiling static library (POCO) and having more than 8000 characters in the call to "ar". Calculating exact limits here are tricky, since this particular limit will only take into account object file strings, which is correct for response files, but not for the archive rules (link.txt files), since they also contain the call to "ar" and its arguments. Also, there can be other additional arguments if "ar" tool is wrapped into something else, so it is a good idea to leave more space than trying to exactly fit the limit. Since response files use half of the limit as a heuristic, we reproduce it here for consistency.
Diffstat (limited to 'Source/cmInstallTargetGenerator.cxx')
0 files changed, 0 insertions, 0 deletions