View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012301CMakeCMakepublic2011-06-22 17:362012-01-02 15:56
ReporterStephen Kelly 
Assigned ToDavid Cole 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake 2.8.4 
Target VersionCMake 2.8.5Fixed in VersionCMake 2.8.5 
Summary0012301: CMAKE_BUILD_TYPE not set on MinGW
DescriptionCMAKE_BUILD_TYPE is not set when using MinGW, which causes problems with loading Qt plugins unless the user manually sets the CMAKE_BUILD_TYPE.

CMAKE_BUILD_TYPE should be preset to debug or release, as it is on most other platforms.

Context here:

http://thread.gmane.org/gmane.comp.programming.tools.cmake.user/36994/focus=37032 [^]
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0026958)
Clinton Stimpson (developer)
2011-06-23 12:15

This commit is a better fix for the problem.
http://cmake.org/gitweb?p=cmake.git;a=commit;h=5a2b208617d13808287b3c785183fed9c99576f1 [^]

If there is no other compelling reason for the build type to have a default for MinGW, then I think we can close this bug.
(0027129)
Clinton Stimpson (developer)
2011-07-29 19:15

Isn't an empty CMAKE_BUILD_TYPE valid for MinGW, like it is with Unix Makefiles, unlike with NMake and the MSVC compiler?
(0027143)
David Cole (manager)
2011-08-01 11:31

I agree with Clinton here. I think his fix regarding the definition of QT_NO_DEBUG is the appropriate fix and we can leave the value of CMAKE_BUILD_TYPE empty by default for MinGW. As it is with gcc and Unix Makefiles on other platforms, too.

Feel free to re-open this issue if you think it needs more discussion.
(0028117)
David Cole (manager)
2012-01-02 15:56

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

 Issue History
Date Modified Username Field Change
2011-06-22 17:36 Stephen Kelly New Issue
2011-06-23 12:15 Clinton Stimpson Note Added: 0026958
2011-07-29 19:15 Clinton Stimpson Note Added: 0027129
2011-08-01 11:30 David Cole Assigned To => David Cole
2011-08-01 11:30 David Cole Status new => assigned
2011-08-01 11:31 David Cole Note Added: 0027143
2011-08-01 11:31 David Cole Status assigned => resolved
2011-08-01 11:31 David Cole Fixed in Version => CMake 2.8.5
2011-08-01 11:31 David Cole Resolution open => fixed
2011-08-01 11:31 David Cole Target Version => CMake 2.8.5
2011-08-01 11:31 David Cole Description Updated
2012-01-02 15:56 David Cole Note Added: 0028117
2012-01-02 15:56 David Cole Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team