MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0013728 | CMake | CMake | public | 2012-11-23 04:13 | 2012-11-23 04:44 |
| Reporter | JussiP | ||||
| Assigned To | Peter Kuemmel | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| Platform | Linux | OS | Linux | OS Version | Linux |
| Product Version | CMake 2.8.9 | ||||
| Target Version | Fixed in Version | CMake 2.8.11 | |||
| Summary | 0013728: Ninja file generated by CMake is invalid | ||||
| Description | When generating a Ninja build system for Scribus, the resulting build.ninja is invalid. The following error is printed when running Ninja: ninja: error: build.ninja:6397: bad $-escape (literal $ must be written as $$) FLAGS = $(CMAKE_CXX_FLAGS) -fPIC -O2 -Wall -fPIC -Iscribus/third_party... ^ near here | ||||
| Steps To Reproduce | Check out Scribus from git: git clone git://git.scribus.net/scribus.git [^] Run CMake with the ninja backend. Run Ninja. | ||||
| Additional Information | The error is caused by the parentheses surrounding the word CMAKE_CXX_FLAGS. Manually editing the Ninja file and removing the parentheses in all locations they appear fixes the issue and running Ninja will work correctly. | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2012-11-23 04:13 | JussiP | New Issue | |||
| 2012-11-23 04:44 | Peter Kuemmel | Note Added: 0031680 | |||
| 2012-11-23 04:44 | Peter Kuemmel | Status | new => closed | ||
| 2012-11-23 04:44 | Peter Kuemmel | Assigned To | => Peter Kuemmel | ||
| 2012-11-23 04:44 | Peter Kuemmel | Resolution | open => no change required | ||
| 2012-11-23 04:44 | Peter Kuemmel | Fixed in Version | => CMake 2.8.11 | ||
| 2012-11-26 10:20 | Bill Hoffman | Note Edited: 0031680 | bug_revision_view_page.php?bugnote_id=31680#r943 | ||
| Notes | |||||
|
|
|||||
|
|
||||