summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio10Generator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-09-26 18:57:30 (GMT)
committerBrad King <brad.king@kitware.com>2014-09-30 12:45:35 (GMT)
commit69e198dc3fd0e0d16a7b4fe5bcda4c6e1e77ea2f (patch)
tree02008aea05b54160fe88a70a8a8f1ce55a1804dd /Source/cmGlobalVisualStudio10Generator.cxx
parent5365c9ac377ab6f579a1af32c4bfbec798417efb (diff)
downloadCMake-69e198dc3fd0e0d16a7b4fe5bcda4c6e1e77ea2f.zip
CMake-69e198dc3fd0e0d16a7b4fe5bcda4c6e1e77ea2f.tar.gz
CMake-69e198dc3fd0e0d16a7b4fe5bcda4c6e1e77ea2f.tar.bz2
VS: Generate Nsight Tegra project revision number
Nsight Tegra 2.0 will be revision '8'. Generate this revision number and add a NsightTegraUpgradeOnceWithoutPrompt element to tell newer versions not to prompt when upgrading the generated project file.
Diffstat (limited to 'Source/cmGlobalVisualStudio10Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio10Generator.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio10Generator.cxx b/Source/cmGlobalVisualStudio10Generator.cxx
index 21d1f34..d70d2af 100644
--- a/Source/cmGlobalVisualStudio10Generator.cxx
+++ b/Source/cmGlobalVisualStudio10Generator.cxx
@@ -620,6 +620,12 @@ bool cmGlobalVisualStudio10Generator::IsNsightTegra() const
}
//----------------------------------------------------------------------------
+std::string cmGlobalVisualStudio10Generator::GetNsightTegraVersion() const
+{
+ return this->NsightTegraVersion;
+}
+
+//----------------------------------------------------------------------------
std::string cmGlobalVisualStudio10Generator::GetInstalledNsightTegraVersion()
{
std::string version;