Browse Source

CLion: Fixed a hardcoded cmake executable name

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

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

@@ -1037,8 +1037,8 @@ private:
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
<< " COMMAND cmake -E remove_directory " << productPath << newLine
<< " COMMAND cmake -E copy_directory \"${CMAKE_BINARY_DIR}/" << productFilename << "\" " << productPath << newLine
<< " COMMAND ${CMAKE_COMMAND} -E remove_directory " << productPath << newLine
<< " COMMAND ${CMAKE_COMMAND} -E copy_directory \"${CMAKE_BINARY_DIR}/" << productFilename << "\" " << productPath << newLine
<< " COMMENT \"Copying \\\"" << productFilename << "\\\" to \\\"" << installPath.unquoted() << "\\\"\"" << newLine
<< ")" << newLine << newLine;
}


Loading…
Cancel
Save