View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0013652 | CMake | CMake | public | 2012-11-04 09:34 | 2013-06-03 09:05 | ||||
Reporter | Chuck Frayman | ||||||||
Assigned To | Peter Kuemmel | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | Linux | OS | OS Version | ||||||
Product Version | CMake 2.8.10 | ||||||||
Target Version | Fixed in Version | CMake 2.8.11 | |||||||
Summary | 0013652: Codeblocks Ninja Generator: Unable to build from Codeblocks GUI | ||||||||
Description | When using the Codeblocks: Ninja generator, when building a target from the Codeblocks GUI, ninja is executed as such: ninja -f /full/path/to/Makefile VERBOSE=1 all The generated build commands in the .cbp project file contain the switches used for the the Makefile generator. Problem also reproduced in Windows (MinGW). | ||||||||
Steps To Reproduce | - Use cmake to configure a project to use the Codeblocks: Ninja generator - Open the generated .cbp file in Codeblocks - Use the "build" command from Codeblocks to attempt to build the project | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | codeblocks-ninja-build.patch [^] (571 bytes) 2012-11-04 09:35 [Show Content] | ||||||||
Relationships | |
Relationships |
Notes | |
(0031412) Chuck Frayman (reporter) 2012-11-04 09:38 |
Uploaded patch "codeblocks-ninja-build.patch". This patch is a possible fix. In cmExtraCodeBlocksGenerator.cxx, function cmExtraCodeBlocksGenerator::BuildMakeCommand, added a condition for the Ninja generator to create the ninja command line to use the default rules file (build.ninja) and the -v flag (verbose). |
(0031581) Maciej Dems (reporter) 2012-11-16 15:09 |
I confirm the problem. It seems that all the build targets are affected. Did anyone tested this generator at all? |
(0031985) Peter Kuemmel (developer) 2013-01-05 02:39 |
I've tested this generator with Qt Creator which doesn't use the command line from this generator. |
(0031986) Peter Kuemmel (developer) 2013-01-05 02:39 |
Thanks for the patch! |
(0033178) Robert Maynard (manager) 2013-06-03 09:05 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2012-11-04 09:34 | Chuck Frayman | New Issue | |
2012-11-04 09:35 | Chuck Frayman | File Added: codeblocks-ninja-build.patch | |
2012-11-04 09:38 | Chuck Frayman | Note Added: 0031412 | |
2012-11-16 15:09 | Maciej Dems | Note Added: 0031581 | |
2013-01-05 02:36 | Peter Kuemmel | Assigned To | => Peter Kuemmel |
2013-01-05 02:36 | Peter Kuemmel | Status | new => assigned |
2013-01-05 02:39 | Peter Kuemmel | Note Added: 0031985 | |
2013-01-05 02:39 | Peter Kuemmel | Note Added: 0031986 | |
2013-01-05 02:39 | Peter Kuemmel | Status | assigned => resolved |
2013-01-05 02:39 | Peter Kuemmel | Fixed in Version | => CMake 2.8.11 |
2013-01-05 02:39 | Peter Kuemmel | Resolution | open => fixed |
2013-06-03 09:05 | Robert Maynard | Note Added: 0033178 | |
2013-06-03 09:05 | Robert Maynard | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |