View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014305CMakeDocumentationpublic2013-07-23 18:202013-12-02 08:51
Reportersleske 
Assigned ToBrad King 
PrioritynormalSeverityminorReproducibilityN/A
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake 2.8.11 
Target VersionCMake 2.8.12Fixed in VersionCMake 2.8.12 
Summary0014305: Variable CMAKE_<LANG>_FLAGS is not documented
DescriptionThe 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,

TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0033587)
Brad King (manager)
2013-07-24 10:32

Applied, thanks:

http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=41bb95fc [^]
(0034654)
Robert Maynard (manager)
2013-12-02 08:51

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2013-07-23 18:20 sleske New Issue
2013-07-24 10:32 Brad King Note Added: 0033587
2013-07-24 10:32 Brad King Assigned To => Brad King
2013-07-24 10:32 Brad King Status new => resolved
2013-07-24 10:32 Brad King Resolution open => fixed
2013-07-24 10:32 Brad King Fixed in Version => CMake 2.8.12
2013-07-24 10:32 Brad King Target Version => CMake 2.8.12
2013-12-02 08:51 Robert Maynard Note Added: 0034654
2013-12-02 08:51 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team