summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-08-21 13:54:36 (GMT)
committerBrad King <brad.king@kitware.com>2008-08-21 13:54:36 (GMT)
commit990c6b0b908a3ecad3c5038953752dd2256b957d (patch)
tree386158a87531d8868307b41411ff0739ac1f9fcb /Source/cmLocalGenerator.h
parent5fda12b73f367844ba1a664584afd7cc268dc667 (diff)
downloadCMake-990c6b0b908a3ecad3c5038953752dd2256b957d.zip
CMake-990c6b0b908a3ecad3c5038953752dd2256b957d.tar.gz
CMake-990c6b0b908a3ecad3c5038953752dd2256b957d.tar.bz2
ENH: Allow custom limit on object file path length
Some native build tools, particularly those for cross compiling, may have a limit on the length of the full path to an object file name that is lower than the platform otherwise supports. This change allows the limit to be set by the project toolchain file through the variable CMAKE_OBJECT_PATH_MAX.
Diffstat (limited to 'Source/cmLocalGenerator.h')
-rw-r--r--Source/cmLocalGenerator.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h
index 6b3b7ea..1be0aa4 100644
--- a/Source/cmLocalGenerator.h
+++ b/Source/cmLocalGenerator.h
@@ -348,6 +348,7 @@ protected:
std::vector<cmLocalGenerator*> Children;
std::map<cmStdString, cmStdString> LanguageToIncludeFlags;
std::map<cmStdString, cmStdString> UniqueObjectNamesMap;
+ std::string::size_type ObjectPathMax;
bool WindowsShell;
bool WindowsVSIDE;
bool WatcomWMake;