MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0015959 | CMake | CMake | public | 2016-02-08 02:56 | 2016-06-10 14:21 |
| Reporter | Jon Kristensen | ||||
| Assigned To | Brad King | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | Intel | OS | Windows | OS Version | 7 |
| Product Version | CMake 3.4.3 | ||||
| Target Version | CMake 3.5 | Fixed in Version | CMake 3.5 | ||
| Summary | 0015959: Using CMake-Gui to run generate for Windows followed by generate for Unix generates incorrect Unix makefiles | ||||
| Description | Running a generator that uses the Windows Shell, and then running a generator that uses the Unix shell without exiting Cmake-gui first, causes the Unix makefiles to have the wrong shell command (SHELL = cmd.exe) and Windows path names (with ‘\’s instead of ‘/’s). | ||||
| Steps To Reproduce | 1. Start cmake-gui 2. Select a project that uses the Visual Studio 2015 generator and run generate 3. Select a project that uses the CDT4 – Unix makefiles and run generate | ||||
| Additional Information | Assumed cause (based on cmake-3.4.3 source distribution) : The selection of shell seems to be based on the variable cmState::windowsShell This variable is set to false in the cmState constructor, and is set to true (through a call to member SetWindowsShell(true) from all generators that use a Windows shell. But I could find no code that resets it if a non-Windows-Shell generator is run at a later time | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2016-02-08 02:56 | Jon Kristensen | New Issue | |||
| 2016-02-08 09:15 | Brad King | Note Added: 0040444 | |||
| 2016-02-12 09:41 | Jon Kristensen | Note Added: 0040478 | |||
| 2016-02-12 10:25 | Brad King | Note Added: 0040479 | |||
| 2016-02-15 03:34 | Jon Kristensen | Note Added: 0040489 | |||
| 2016-02-16 09:50 | Brad King | Note Added: 0040494 | |||
| 2016-02-16 09:50 | Brad King | Assigned To | => Brad King | ||
| 2016-02-16 09:50 | Brad King | Status | new => resolved | ||
| 2016-02-16 09:50 | Brad King | Resolution | open => fixed | ||
| 2016-02-16 09:50 | Brad King | Fixed in Version | => CMake 3.5 | ||
| 2016-02-16 09:50 | Brad King | Target Version | => CMake 3.5 | ||
| 2016-06-10 14:21 | Kitware Robot | Note Added: 0041251 | |||
| 2016-06-10 14:21 | Kitware Robot | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||