[cmake-developers] CMake 3.1 Android - generator expressions and output names

Robert Goulet Robert.Goulet at autodesk.com
Tue Dec 16 10:58:22 EST 2014


Upgrading to CMake 3.1-rc3 indeed fixed the upgrade popup upon opening generated solution/project files when using NVidia NSight Tegra 3.0r4, however the value of "Native Android API Level" seems to default to "Use Min Android API Level" instead of the expected "Use Target Android API Level". Since we cannot set the Min or the Native API Level explicitly in CMake, this is a regression when upgrading to NVidia NSight Tegra 3.0r4 (from 3.0r3). I guess we will have to stick with NVidia NSight Tegra 3.0r3 for now.


-----Original Message-----
From: Dmitry Polyanitsa [mailto:dpolyanitsa at nvidia.com] 
Sent: Tuesday, December 16, 2014 8:46 AM
To: Brad King; Robert Goulet
Cc: cmake-developers at cmake.org
Subject: RE: [cmake-developers] CMake 3.1 Android - generator expressions and output names

Yes, that's the one.

Nsight Tegra will upgrade the projects without a prompt, but only starting with the next version number increase.

-Dmitry

-----Original Message-----
From: Brad King [mailto:brad.king at kitware.com]
Sent: Tuesday, December 16, 2014 4:30 PM
To: Robert Goulet
Cc: Dmitry Polyanitsa; cmake-developers at cmake.org
Subject: Re: [cmake-developers] CMake 3.1 Android - generator expressions and output names

On 12/16/2014 06:58 AM, Dmitry Polyanitsa wrote:
>> 3.0r4 has added a popup when opening the solution in Visual Studio 
>> stating that the project files generated needs to be upgraded.
> 
> I'm sure I've submitted a patch for this - please try updating CMake

IIUC the patch was this one:

 VS: Change Nsight Tegra 2.0 Project Revision Number from 8 to 9
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=bb3c87f1

and is available in 3.1.0-rc3.

However, CMake cannot predict future version numbers, so it writes a "NsightTegraUpgradeOnceWithoutPrompt" element into the project file.
Nsight Tegra is supposed to upgrade such projects without any popup.

-Brad

-----------------------------------------------------------------------------------
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