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                                    
======================================================================

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to