mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-07 22:30:13 -06:00
Merge branch 'cmake-gui-vs-open-space' into release-3.13
Merge-request: !2524
This commit is contained in:
@@ -878,12 +878,13 @@ bool cmGlobalVisualStudioGenerator::Open(const std::string& bindir,
|
||||
const std::string& projectName,
|
||||
bool dryRun)
|
||||
{
|
||||
std::string buildDir = cmSystemTools::ConvertToOutputPath(bindir);
|
||||
std::string sln = buildDir + "\\" + projectName + ".sln";
|
||||
std::string sln = bindir + "/" + projectName + ".sln";
|
||||
|
||||
if (dryRun) {
|
||||
return cmSystemTools::FileExists(sln, true);
|
||||
}
|
||||
|
||||
sln = cmSystemTools::ConvertToOutputPath(sln);
|
||||
|
||||
return std::async(std::launch::async, OpenSolution, sln).get();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user