MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0013112 | CMake | CMake | public | 2012-04-09 04:26 | 2016-06-10 14:31 |
| Reporter | A. Saratow | ||||
| Assigned To | Bill Hoffman | ||||
| Priority | normal | Severity | feature | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | x64 | OS | Windows | OS Version | 6.1 SP 1 |
| Product Version | CMake 2.8.7 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0013112: Support for Unix Makefiles with DOS Paths | ||||
| Description | I am using GNU Makefiles on a Windows system together with the Eclipse IDE / CDT to build CMake-managed C++ projects with Visual C++. It is already possible to use the 'Unix Makefiles' generator (using the GNU Make for Windows package) on Windows systems together with the Visual C++ compiler (cl.exe) instead of the GCC required by MSYS or MinGW Makefiles. Everything works fine except of the execution of custom build steps (Qt QRC and UIC runs), because those executables are built as a part of the solution and are located inside of the source root. CMake generates a relative path for them (e.g. '../../Qt/bin/uic.exe') which breaks the build at the according target, because cmd.exe fails to figure out how to interpret the '/..' "option". To resolve this issue I have modified a copy of the cmGlobalMSYSMakefileGenerator class which does nothing more than provide a new generator name 'CMD Makefiles' (and documentation) and set the WindowsShell flag on the created cmLocalGenerator instance to generate backslash-separated paths (see attached ZIP archive with a patch and the new class sources). | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://public.kitware.com/Bug/file/4291/CMDMakefiles.zip https://public.kitware.com/Bug/file/4292/v2.8.7%2B0001-Add-CMD-Makefiles-generator-13112.patch | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2012-04-09 04:26 | A. Saratow | New Issue | |||
| 2012-04-09 04:26 | A. Saratow | File Added: CMDMakefiles.zip | |||
| 2012-04-10 11:08 | Brad King | File Added: v2.8.7+0001-Add-CMD-Makefiles-generator-13112.patch | |||
| 2012-04-10 11:09 | Brad King | Note Added: 0029114 | |||
| 2012-04-10 11:09 | Brad King | Assigned To | => Bill Hoffman | ||
| 2012-04-10 11:09 | Brad King | Status | new => assigned | ||
| 2016-06-10 14:28 | Kitware Robot | Note Added: 0042019 | |||
| 2016-06-10 14:28 | Kitware Robot | Status | assigned => resolved | ||
| 2016-06-10 14:28 | Kitware Robot | Resolution | open => moved | ||
| 2016-06-10 14:31 | Kitware Robot | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||