Browse Source

CLion: Made a plug-in copying path more robust

tags/2021-05-28
tpoole 8 years ago
parent
commit
e1dff09916
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_CLion.h

+ 1
- 1
extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_CLion.h View File

@@ -1037,7 +1037,7 @@ private:
if (target->getTargetFileType() == ProjectType::Target::TargetFileType::pluginBundle
&& targetAttributeKeys.contains("INSTALL_PATH"))
{
const auto installPath = targetAttributes["INSTALL_PATH"].unquoted();
const auto installPath = targetAttributes["INSTALL_PATH"].unquoted().replace ("$(HOME)", "$ENV{HOME}");
const auto productFilename = binaryName + (targetAttributeKeys.contains ("WRAPPER_EXTENSION") ? "." + targetAttributes["WRAPPER_EXTENSION"] : String());
auto productPath = (installPath + productFilename).quoted();
out << "add_custom_command (TARGET " << targetVarName << " POST_BUILD" << newLine


Loading…
Cancel
Save