On 09/08/2014 05:35 AM, Pascal Bach wrote:
> Even better would be to make the search case insensitive.

How do we know which flags are sensitive to case?

> -  set(CMAKE_CREATE_WIN32_EXE "/entry:WinMainCRTStartup")
> -  set(CMAKE_CREATE_CONSOLE_EXE "/entry:mainACRTStartup")
> -  set(_PLATFORM_LINK_FLAGS " /subsystem:windowsce")
> +  set(CMAKE_CREATE_WIN32_EXE "/SUBSYSTEM:WINDOWSCE /ENTRY:WinMainCRTStartup")
> +  set(CMAKE_CREATE_CONSOLE_EXE "/SUBSYSTEM:WINDOWSCE /ENTRY:mainACRTStartup")
> +  set(_PLATFORM_LINK_FLAGS "")

That appears to un-do this recent fix:

 MSVC: Fix linking of DLLs on WinCE (#15013)
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7e1283e4
 http://www.cmake.org/Bug/view.php?id=15013

that introduced _PLATFORM_LINK_FLAGS in the first place.

-Brad

-- 

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