|
@@ -103,6 +103,7 @@ cmGlobalVisualStudio10Generator::cmGlobalVisualStudio10Generator(
|
|
|
"HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VCExpress\\10.0\\Setup\\VC;"
|
|
"HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VCExpress\\10.0\\Setup\\VC;"
|
|
|
"ProductDir",
|
|
"ProductDir",
|
|
|
vc10Express, cmSystemTools::KeyWOW64_32);
|
|
vc10Express, cmSystemTools::KeyWOW64_32);
|
|
|
|
|
+ this->CudaEnabled = false;
|
|
|
this->SystemIsWindowsCE = false;
|
|
this->SystemIsWindowsCE = false;
|
|
|
this->SystemIsWindowsPhone = false;
|
|
this->SystemIsWindowsPhone = false;
|
|
|
this->SystemIsWindowsStore = false;
|
|
this->SystemIsWindowsStore = false;
|
|
@@ -459,6 +460,9 @@ void cmGlobalVisualStudio10Generator::EnableLanguage(
|
|
|
if (*it == "ASM_NASM") {
|
|
if (*it == "ASM_NASM") {
|
|
|
this->NasmEnabled = true;
|
|
this->NasmEnabled = true;
|
|
|
}
|
|
}
|
|
|
|
|
+ if (*it == "CUDA") {
|
|
|
|
|
+ this->CudaEnabled = true;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
this->AddPlatformDefinitions(mf);
|
|
this->AddPlatformDefinitions(mf);
|
|
|
cmGlobalVisualStudio8Generator::EnableLanguage(lang, mf, optional);
|
|
cmGlobalVisualStudio8Generator::EnableLanguage(lang, mf, optional);
|