View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0013179 | CMake | CMake | public | 2012-05-01 07:59 | 2013-01-09 14:05 | ||||
Reporter | Gerhard Aichinger | ||||||||
Assigned To | Peter Kuemmel | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | PC | OS | Windows | OS Version | XP SP3 | ||||
Product Version | CMake 2.8.8 | ||||||||
Target Version | CMake 2.8.10 | Fixed in Version | CMake 2.8.10 | ||||||
Summary | 0013179: Unix Makefiles generator fails with MinGW tools with CMAKE_RC_COMPILER-NOTFOUND | ||||||||
Description | With CMake 2.8.8 each configure without setting parameter -DCMAKE_RC_COMPILER fails. See attached file cmake_failure.log CMake 2.6.4 configuring the same project works well without setting CMAKE_RC_COMPILER. | ||||||||
Steps To Reproduce | CMakeLists.txt: -------------------------- project(Test) cmake_minimum_required(VERSION 2.8) set(SRC main.cpp) add_executable(Test ${SRC}) main.cpp: -------------------------- int main() { return 0; } DOS console: cmake -G "Unix Makefiles" ==> build failed cmake -G "Unix Makefiles" -DCMAKE_RC_COMPILER=C:/MinGW/bin/windres.exe ==> build ok | ||||||||
Additional Information | From my point of view C:\Programme\CMake 2.8\share\cmake-2.8\Modules\Platform\Windows-GNU.cmake file should be modified (see C:\Programme\CMake2.8\share\cmake-2.8\Modules\Platform\CYGWIN-GNU.cmake file) If I added "set(CMAKE_GENERATOR_RC windres)" before "enable_language(RC)", then build works correct. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | cmake_failure.log [^] (1,426 bytes) 2012-05-01 07:59 | ||||||||
Relationships | |
Relationships |
Notes | |
(0029380) Brad King (manager) 2012-05-01 08:24 |
Usually with MinGW tools we use the "MinGW Makefiles" or "MSYS Makefiles" generator. They already set CMAKE_GENERATOR_RC to windres. Perhaps Windows-GNU.cmake could contain if(NOT CMAKE_GENERATOR_RC) set(CMAKE_GENERATOR_RC windres) endif() to work with "Unix Makefiles". |
(0029381) Amine Khaldi (reporter) 2012-05-01 08:28 |
We (ReactOS) get something like this when we try to compile our host tools with the ninja generator. |
(0029748) Peter Kuemmel (developer) 2012-06-19 16:14 edited on: 2012-06-19 16:31 |
Is fixed for ninja with the merge of 'ninja-cldeps'. |
(0029987) David Cole (manager) 2012-07-09 07:13 |
Unset target version field; too late for a fix to go into 2.8.9; deferred until a future version. |
(0030775) Peter Kuemmel (developer) 2012-08-27 11:01 |
http://public.kitware.com/pipermail/cmake-commits/2012-August/013306.html [^] |
(0032082) Robert Maynard (manager) 2013-01-09 14:05 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2012-05-01 07:59 | Gerhard Aichinger | New Issue | |
2012-05-01 07:59 | Gerhard Aichinger | File Added: cmake_failure.log | |
2012-05-01 08:24 | Brad King | Note Added: 0029380 | |
2012-05-01 08:24 | Brad King | Assigned To | => Bill Hoffman |
2012-05-01 08:24 | Brad King | Status | new => backlog |
2012-05-01 08:24 | Brad King | Target Version | => CMake 2.8.9 |
2012-05-01 08:24 | Brad King | Summary | Configure fails with CMAKE_RC_COMPILER-NOTFOUND => Unix Makefiles generator fails with MinGW tools with CMAKE_RC_COMPILER-NOTFOUND |
2012-05-01 08:28 | Amine Khaldi | Note Added: 0029381 | |
2012-06-19 16:14 | Peter Kuemmel | Note Added: 0029748 | |
2012-06-19 16:31 | Peter Kuemmel | Note Edited: 0029748 | |
2012-07-09 07:13 | David Cole | Note Added: 0029987 | |
2012-07-09 07:18 | David Cole | Target Version | CMake 2.8.9 => |
2012-08-20 11:53 | David Cole | Assigned To | Bill Hoffman => |
2012-08-20 11:53 | David Cole | Status | backlog => new |
2012-08-20 11:53 | David Cole | Target Version | => CMake 2.8.10 |
2012-08-27 11:00 | Peter Kuemmel | Assigned To | => Peter Kuemmel |
2012-08-27 11:00 | Peter Kuemmel | Status | new => assigned |
2012-08-27 11:01 | Peter Kuemmel | Note Added: 0030775 | |
2012-08-27 11:01 | Peter Kuemmel | Status | assigned => resolved |
2012-08-27 11:01 | Peter Kuemmel | Fixed in Version | => CMake 2.8.10 |
2012-08-27 11:01 | Peter Kuemmel | Resolution | open => fixed |
2013-01-09 14:05 | Robert Maynard | Note Added: 0032082 | |
2013-01-09 14:05 | Robert Maynard | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |