[CMake] [Visual Studio] Is it possible to specify a different target architecture?

Adam Rankin arankin at robarts.ca
Tue Jun 28 09:59:45 EDT 2016


Well now don’t I feel silly…

Thanks!

Adam

From: Benjamin Ballet [mailto:bballet at ivsweb.com]
Sent: Tuesday, June 28, 2016 9:59 AM
To: Adam Rankin <arankin at robarts.ca>
Cc: cmake at cmake.org
Subject: Re: [CMake] [Visual Studio] Is it possible to specify a different target architecture?

Hi

Look at the CMAKE_VS_PLATFORM_TOOLSET<https://cmake.org/cmake/help/v3.0/variable/CMAKE_VS_PLATFORM_TOOLSET.html> variable

2016-06-28 15:51 GMT+02:00 Adam Rankin <arankin at robarts.ca<mailto:arankin at robarts.ca>>:
Hello all,

I am wondering if there exist CMake commands/variables to specify for Visual Studio to have the project file(s) generated target a different architecture than the one associated with that version of Visual Studio.

For example, I develop in VS2015, but would like to target the VS2012 redistributable (v110).

Is this possible?

Kind regards,
Adam

--

Powered by www.kitware.com<http://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



--
Benjamin BALLET
Ingénieur R&D

ACTIVISU
19, rue Klock - 92110 Clichy
> Standard Tél :  01 44 69 37 37
> www.activisu.com<http://www.activisu.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160628/fee689f9/attachment-0001.html>


More information about the CMake mailing list