diff options
author | Brad King <brad.king@kitware.com> | 2008-01-30 01:46:25 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-01-30 01:46:25 (GMT) |
commit | 66e0b4212fbbaaf3c5aa5af6a51aa3a5af002edf (patch) | |
tree | 6a18f76856cfe10f1e7be02d2b1cf41896a34cd6 /Source/cmDocumentVariables.cxx | |
parent | 44cf465ff5f768c96e8708eba35f31f296e78b1e (diff) | |
download | CMake-66e0b4212fbbaaf3c5aa5af6a51aa3a5af002edf.zip CMake-66e0b4212fbbaaf3c5aa5af6a51aa3a5af002edf.tar.gz CMake-66e0b4212fbbaaf3c5aa5af6a51aa3a5af002edf.tar.bz2 |
ENH: Added build rule variables CMAKE_<LANG>_ARCHIVE_CREATE, CMAKE_<LANG>_ARCHIVE_APPEND, and CMAKE_<LANG>_ARCHIVE_FINISH to support creation of static archive libraries out of a large number of objects. See bug #6284.
Diffstat (limited to 'Source/cmDocumentVariables.cxx')
-rw-r--r-- | Source/cmDocumentVariables.cxx | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/Source/cmDocumentVariables.cxx b/Source/cmDocumentVariables.cxx index 4c33014..bcc9e8c 100644 --- a/Source/cmDocumentVariables.cxx +++ b/Source/cmDocumentVariables.cxx @@ -944,7 +944,34 @@ void cmDocumentVariables::DefineVariables(cmake* cm) "This is a rule variable that tells CMake how " "to create a static library for the language <LANG>.",false, "Variables for Languages"); - + + cm->DefineProperty + ("CMAKE_<LANG>_ARCHIVE_CREATE", cmProperty::VARIABLE, + "Rule variable to create a new static archive.", + "This is a rule variable that tells CMake how to create a static " + "archive. It is used in place of CMAKE_<LANG>_CREATE_STATIC_LIBRARY " + "on some platforms in order to support large object counts. " + "See also CMAKE_<LANG>_ARCHIVE_APPEND and CMAKE_<LANG>_ARCHIVE_FINISH.", + false, "Variables for Languages"); + + cm->DefineProperty + ("CMAKE_<LANG>_ARCHIVE_APPEND", cmProperty::VARIABLE, + "Rule variable to append to a static archive.", + "This is a rule variable that tells CMake how to append to a static " + "archive. It is used in place of CMAKE_<LANG>_CREATE_STATIC_LIBRARY " + "on some platforms in order to support large object counts. " + "See also CMAKE_<LANG>_ARCHIVE_CREATE and CMAKE_<LANG>_ARCHIVE_FINISH.", + false, "Variables for Languages"); + + cm->DefineProperty + ("CMAKE_<LANG>_ARCHIVE_FINISH", cmProperty::VARIABLE, + "Rule variable to finish an existing static archive.", + "This is a rule variable that tells CMake how to finish a static " + "archive. It is used in place of CMAKE_<LANG>_CREATE_STATIC_LIBRARY " + "on some platforms in order to support large object counts. " + "See also CMAKE_<LANG>_ARCHIVE_CREATE and CMAKE_<LANG>_ARCHIVE_APPEND.", + false, "Variables for Languages"); + cm->DefineProperty ("CMAKE_<LANG>_IGNORE_EXTENSIONS", cmProperty::VARIABLE, "File extensions that should be ignored by the build.", |