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

Reply via email to