Hey folks,
There’s a syntax error in Projucer-generated CMakeLists.txt:
The line:
Is this a bug or I did something wrong?
Hey folks,
There’s a syntax error in Projucer-generated CMakeLists.txt:
The line:
Is this a bug or I did something wrong?
This is indeed a bug. Applying the following patch and rebuilding Projucer should fix it:
diff --git a/extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_CLion.h b/extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_CLion.h
index 70b91db7a..3b21050a2 100644
--- a/extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_CLion.h
+++ b/extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_CLion.h
@@ -404,7 +404,7 @@ private:
.getChildFile ("resources.rc");
if (windowsRcFile.existsAsFile())
- out << " " << windowsRcFile.getRelativePathFrom (getTargetFolder()).quoted() << newLine;
+ out << " " << windowsRcFile.getRelativePathFrom (getTargetFolder()).toUnixStyle().quoted() << newLine;
}
out << ")" << newLine << newLine;
@t0m FYI
There were a few bits that needed patching up: