[cmake-developers] [CMake 0015115]: WindowsCE: /SUBSYSTEM and /ENTRYPOINT does not end up in the generated Visual Studio project
Mantis Bug Tracker
mantis at public.kitware.com
Thu Aug 28 13:16:23 EDT 2014
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=15115
======================================================================
Reported By: Pascal Bach
Assigned To:
======================================================================
Project: CMake
Issue ID: 15115
Category: CMake
Reproducibility: always
Severity: major
Priority: normal
Status: new
======================================================================
Date Submitted: 2014-08-28 13:16 EDT
Last Modified: 2014-08-28 13:16 EDT
======================================================================
Summary: 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
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2014-08-28 13:16 Pascal Bach New Issue
======================================================================
More information about the cmake-developers
mailing list