On 09/09/2014 09:48 AM, Bach, Pascal wrote:
> The values added to _PLATFORM_LINK_FLAGS do never end up in the .vcxproj file.
> The go into CMAKE_${lang}_CREATE_SHARED_LIBRARY [1] and
> CMAKE_${lang}_LINK_EXECUTABLE [2]
> However I can't see how this variables should end up in the VS generator.
>
> Any ideas?
Those are all for the Makefile and Ninja generators, as are
CMAKE_CREATE_WIN32_EXE and CMAKE_CREATE_CONSOLE_EXE. For VS
generators the knowledge has always been hard-coded, with a
special case for Windows CE:
http://www.cmake.org/gitweb?p=cmake.git;a=blob;f=Source/cmLocalVisualStudio7Generator.cxx;hb=v3.0.1#l1122
The cmVisualStudio10TargetGenerator could be taught this
similarly.
-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