MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0014917 | CMake | CMake | public | 2014-05-15 12:02 | 2016-06-10 14:31 |
| Reporter | Andreas Boerner | ||||
| Assigned To | Kitware Robot | ||||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | PC Linux | OS | all | OS Version | |
| Product Version | CMake 2.8.12.2 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0014917: CMake does nor create response file for Ninja | ||||
| Description | On a larger project, (cmake -G Ninja) the arguments get too long for Ninja or Linux to handle. (That's usually the link command). Linking aborts because of error command line too long | ||||
| Steps To Reproduce | happens always if link command is long enough | ||||
| Additional Information | I have a work-around for this: ninjaFix.lex: %% CXX_EXECUTABLE_LINKER printf("%s_RSP_FILE", yytext); TARGET_PDB.+ printf("%s/n RSP_FILE = rsp.txt\n", yytext); flex ninjaFix.lex gcc -o fix lex.yy.c -lfl and then I do after cmake -G Ninja: mv build.ninja build.ninja.in fix < build.ninja.in > build.ninja and then I can call ninja -j 20 without an error. Would be great if this fix could be integrated into the Ninja generator of cmake ! | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2014-05-15 12:02 | Andreas Boerner | New Issue | |||
| 2014-05-15 15:36 | Ben Boeckel | Note Added: 0035886 | |||
| 2014-05-16 00:04 | Andreas Boerner | Note Added: 0035887 | |||
| 2014-05-16 11:47 | Ben Boeckel | Note Added: 0035891 | |||
| 2016-06-10 14:29 | Kitware Robot | Note Added: 0042547 | |||
| 2016-06-10 14:29 | Kitware Robot | Status | new => resolved | ||
| 2016-06-10 14:29 | Kitware Robot | Resolution | open => moved | ||
| 2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot | ||
| 2016-06-10 14:31 | Kitware Robot | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||