View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010194CMakeCMakepublic2010-01-27 16:192015-05-04 09:05
ReporterJames Bigler 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake-2-8 
Target VersionCMake 3.1Fixed in VersionCMake 3.1 
Summary0010194: setting CMAKE_RC_FLAGS has no affect on rc flags
DescriptionModifying CMAKE_RC_FLAGS does not actually add any flags to resource compilation. I've tried the following:

/D MY_FLAG
/DMY_FLAG
-D MY_FLAG
-DMY_FLAG

This is also broken in CMake 2.6.4.

I'm using the VS 2009 32 bit generator on XP-64.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0028405)
Cédric OCHS (reporter)
2012-01-25 10:00

It's still broken and I need the possibility to add a flag to RC compiler.

I need to change the "Culture" parameter from "VCResourceCompilerTool" section in VC++ (2005, 2008 and 2010) and set it to French, but I didn't find any way to do that with CMake :(

That's still set to compiler default "English".

The parameter used for resource compiler is "/l xxxx" (lowercase L) followed by the language code.

Only allowing to use : SET(CMAKE_RC_FLAGS "/l 1036") in CMakeLists.txt should be enough for me :)

Please could you implement it ?

Thanks a lot !
(0037354)
Brad King (manager)
2014-12-02 09:18

This was fixed here:

 VS: Fix handling of non-preprocessor flags in CMAKE_RC_FLAGS
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=5d873846 [^]

and will be in the 3.1 release.
(0038685)
Robert Maynard (manager)
2015-05-04 09:05

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

 Issue History
Date Modified Username Field Change
2010-01-27 16:19 James Bigler New Issue
2010-12-15 10:00 David Cole Status new => assigned
2010-12-15 10:00 David Cole Assigned To => Bill Hoffman
2012-01-25 10:00 Cédric OCHS Note Added: 0028405
2014-12-02 09:18 Brad King Note Added: 0037354
2014-12-02 09:18 Brad King Assigned To Bill Hoffman =>
2014-12-02 09:18 Brad King Status assigned => resolved
2014-12-02 09:18 Brad King Resolution open => fixed
2014-12-02 09:18 Brad King Fixed in Version => CMake 3.1
2014-12-02 09:18 Brad King Target Version => CMake 3.1
2015-05-04 09:05 Robert Maynard Note Added: 0038685
2015-05-04 09:05 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team