Skip to content

Commit

Permalink
Merge pull request #639 from genn-team/use_sdk_visual_studio_plugin
Browse files Browse the repository at this point in the history
Stop Windows CUDA compilation relying on correct order of CUDA + Visual Studio installation
  • Loading branch information
neworderofjamie authored Oct 9, 2024
2 parents bd7a4bf + d638ee8 commit 9c6f6f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/genn/backends/cuda/backend.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1945,7 +1945,7 @@ void Backend::genMSBuildImportProps(std::ostream &os) const
{
// Import CUDA props file
os << "\t<ImportGroup Label=\"ExtensionSettings\">" << std::endl;
os << "\t\t<Import Project=\"$(VCTargetsPath)\\BuildCustomizations\\CUDA $(CudaVersion).props\" />" << std::endl;
os << "\t\t<Import Project=\"$(CUDA_PATH)\\extras\\visual_studio_integration\\MSBuildExtensions\\CUDA $(CudaVersion).props\" />" << std::endl;
os << "\t</ImportGroup>" << std::endl;
}
//--------------------------------------------------------------------------
Expand Down Expand Up @@ -1999,7 +1999,7 @@ void Backend::genMSBuildCompileModule(const std::string &moduleName, std::ostrea
void Backend::genMSBuildImportTarget(std::ostream &os) const
{
os << "\t<ImportGroup Label=\"ExtensionTargets\">" << std::endl;
os << "\t\t<Import Project=\"$(VCTargetsPath)\\BuildCustomizations\\CUDA $(CudaVersion).targets\" />" << std::endl;
os << "\t\t<Import Project=\"$(CUDA_PATH)\\extras\\visual_studio_integration\\MSBuildExtensions\\CUDA $(CudaVersion).targets\" />" << std::endl;
os << "\t</ImportGroup>" << std::endl;
}
//--------------------------------------------------------------------------
Expand Down

0 comments on commit 9c6f6f6

Please sign in to comment.