Browse Source

Introjucer MSVC absolute path fix.

tags/2021-05-28
Julian Storer 14 years ago
parent
commit
64ee6d54d9
1 changed files with 7 additions and 3 deletions
  1. +7
    -3
      extras/Introjucer/Source/Project Saving/jucer_ProjectExport_MSVC.h

+ 7
- 3
extras/Introjucer/Source/Project Saving/jucer_ProjectExport_MSVC.h View File

@@ -91,9 +91,13 @@ protected:
if (binaryPath.isEmpty()) if (binaryPath.isEmpty())
return getIntermediatesPath (config); return getIntermediatesPath (config);
return ".\\" + RelativePath (binaryPath, RelativePath::projectFolder)
.rebased (projectFolder, getTargetFolder(), RelativePath::buildTargetFolder)
.toWindowsStyle();
RelativePath binaryRelPath (binaryPath, RelativePath::projectFolder);
if (binaryRelPath.isAbsolute())
return binaryRelPath.toWindowsStyle();
return ".\\" + binaryRelPath.rebased (projectFolder, getTargetFolder(), RelativePath::buildTargetFolder)
.toWindowsStyle();
} }
String getPreprocessorDefs (const Project::BuildConfiguration& config, const String& joinString) const String getPreprocessorDefs (const Project::BuildConfiguration& config, const String& joinString) const


Loading…
Cancel
Save