[cmake-developers] Setting unexposed Visual Studio properties from CMake?

Dmitry Polyanitsa dpolyanitsa at nvidia.com
Wed Mar 18 07:39:02 EDT 2015


We're definitely planning to do this, but it's a big action item and we're still prioritizing it.

-Dmitry

-----Original Message-----
From: cmake-developers [mailto:cmake-developers-bounces at cmake.org] On Behalf Of Brad King
Sent: Tuesday, March 17, 2015 9:44 PM
To: Robert Goulet
Cc: cmake-developers at cmake.org
Subject: Re: [cmake-developers] Setting unexposed Visual Studio properties from CMake?

On 03/16/2015 10:28 AM, Robert Goulet wrote:
> Is there a way to set unexposed Visual Studio properties from CMake?

No.  Unlike Xcode the number of different places that VS properties go means there is no good equivalent to XCODE_ATTRIBUTE_ for VS (or any other generators AFAIK).

> Exposing every single Nsight Tegra build options to CMake is a big job

Nevertheless it is the cleanest path forward IMO.

Many of them are likely properties corresponding to specific build flags.  The way this works for MS tools is to use the reverse mappings builtin to CMake.  See Source/cmVS12CLFlagTable.h for example.  We currently have no flag table for Nsight Tegra as mentioned in one of the original commit messages:

 VS: Teach vcxproj generation about the Tegra-Android platform
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ef0fd4f0

-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
-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------


More information about the cmake-developers mailing list