MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0015115 | CMake | CMake | public | 2014-08-28 13:16 | 2015-03-02 08:57 |
| Reporter | Pascal Bach | ||||
| Assigned To | Brad King | ||||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | Visual Studio 2013 | OS | Windows | OS Version | 7 |
| Product Version | CMake 3.0.1 | ||||
| Target Version | CMake 3.1 | Fixed in Version | CMake 3.1 | ||
| Summary | 0015115: WindowsCE: /SUBSYSTEM and /ENTRYPOINT does not end up in the generated Visual Studio project | ||||
| Description | If CMake is used for WEC2013 the file Windows-MSVC.cmake [1] sets the linker flags /subsystem and /entry. However these variables never end up in the generated visual studio solution. My obesrvation is that the subsystem gets always overriden by cmVisualStudio10TargetGenerator.cxx [2]. [1] https://github.com/Kitware/CMake/blob/1f8cfc3b5f4bd87216e48c6bf909b59f10b9065e/Modules/Platform/Windows-MSVC.cmake#L39 [^] [2] https://github.com/Kitware/CMake/blob/8c30014982345567b80ec0dad6bd9eb40dfda505/Source/cmVisualStudio10TargetGenerator.cxx#L1981 [^] | ||||
| Steps To Reproduce | 1. Create a toolchain file with the following content: set(CMAKE_SYSTEM_NAME "WindowsCE") set(CMAKE_SYSTEM_VERSION "8.0") set(CMAKE_SYSTEM_PROCESSOR "arm" ) set(CMAKE_GENERATOR_TOOLSET "CE800") 2. Generate a Visual Studio 2012 or 2013 solution. Expected result: the XML tags <Subsystem> and <EntryPointSymbol> are set to the values given in Windows-MSVC.cmake Actual Result: the values are to ones hardcoded in cmVisualStudio10TargetGenerator.cxx | ||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://public.kitware.com/Bug/file/5243/0001-WINCE-VS-Propagate-Subsystem-and-Entry-point-to-gene.patch https://public.kitware.com/Bug/file/5244/0002-VS-Pass-MSVC-compiler-flags-in-upper-case.patch | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2014-08-28 13:16 | Pascal Bach | New Issue | |||
| 2014-08-28 20:49 | Brad King | Target Version | => CMake 3.1 | ||
| 2014-09-02 10:49 | Brad King | Note Added: 0036698 | |||
| 2014-09-05 09:56 | Pascal Bach | File Added: 0001-WINCE-VS-Propagate-Subsystem-and-Entry-point-to-gene.patch | |||
| 2014-09-05 09:57 | Pascal Bach | File Added: 0002-VS-Pass-MSVC-compiler-flags-in-upper-case.patch | |||
| 2014-09-15 11:02 | Brad King | Note Added: 0036801 | |||
| 2014-09-15 11:46 | Brad King | Assigned To | => Brad King | ||
| 2014-09-15 11:46 | Brad King | Status | new => resolved | ||
| 2014-09-15 11:46 | Brad King | Resolution | open => fixed | ||
| 2014-09-15 11:46 | Brad King | Fixed in Version | => CMake 3.1 | ||
| 2015-03-02 08:57 | Robert Maynard | Note Added: 0038121 | |||
| 2015-03-02 08:57 | Robert Maynard | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||