The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=14305 
====================================================================== 
Reported By:                sleske
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14305
Category:                   Documentation
Reproducibility:            N/A
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-07-24 00:20 CEST
Last Modified:              2013-07-24 00:20 CEST
====================================================================== 
Summary:                    Variable CMAKE_<LANG>_FLAGS is not documented
Description: 
The CMake docs document the variables CMAKE_<LANG>_FLAGS_{DEBUG, MINSIZEREL,
RELEASE, RELWITHDEBINFO}. However, CMAKE_<LANG>_FLAGS is not documented, even
though it's available (and useful). This should be changed.

Patch with proposal for the docs:

--- cmDocumentVariables.cxx 
+++ cmDocumentVariables.cxx-2
@@ -1562,6 +1562,12 @@
      "Variables for Languages");
 
   cm->DefineProperty
+    ("CMAKE_<LANG>_FLAGS", cmProperty::VARIABLE,
+     "Flags for all build types.",
+     "<LANG> flags used regardless of the value of CMAKE_BUILD_TYPE.",false,
+     "Variables for Languages");
+
+  cm->DefineProperty
     ("CMAKE_<LANG>_FLAGS_DEBUG", cmProperty::VARIABLE,
      "Flags for Debug build type or configuration.",
      "<LANG> flags used when CMAKE_BUILD_TYPE is Debug.",false,


====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-07-24 00:20 sleske         New Issue                                    
======================================================================

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to