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

2015-03-18 Thread Dmitry Polyanitsa
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-boun...@cmake.org] On Behalf Of 
Brad King
Sent: Tuesday, March 17, 2015 9:44 PM
To: Robert Goulet
Cc: cmake-developers@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.
---
-- 

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


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

2015-03-16 Thread Robert Goulet
Hi,

Is there a way to set unexposed Visual Studio properties from CMake? In XCode 
generator, we have XCODE_ATTRIBUTE_an-attribute. What about Visual Studio? 
The reason we need this is because we are trying to set project properties of 
the Nsight Tegra Android generator that are not exposed to CMake. Exposing 
every single Nsight Tegra build options to CMake is a big job, and perhaps a 
similar option like XCode would be beneficial to other generators as well.

If it's not available, how difficult would it be to add this feature?

Thanks!

-Robert Goulet

-- 

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