Skip to content

Commit

Permalink
- fixed faust compilation (again)...
Browse files Browse the repository at this point in the history
  • Loading branch information
christoph-hart committed Jul 3, 2024
1 parent 1953d9f commit 513db44
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion hi_backend/snex_workbench/WorkbenchProcessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,10 @@ void DspNetworkCompileExporter::run()

if (!codeDestDir.isDirectory())
codeDestDir.createDirectory();

if(!realCodeDestDir.isDirectory())
realCodeDestDir.createDirectory();

DBG("codeDestDirPath: " + codeDestDirPath);

auto boilerplateDestDirPath = codeDestDir.getParentDirectory().getFullPathName().toStdString();
Expand Down Expand Up @@ -495,7 +499,7 @@ void DspNetworkCompileExporter::run()

auto code_path = scriptnode::faust::faust_jit_helpers::genStaticInstanceCode(_classId, faustSourcePath, faustLibraryPaths, codeDestDirPath);

auto ok = codeDestDir.getChildFile(code_path).copyFileTo(realCodeDestDir.getChildFile("funky.cpp"));
auto ok = codeDestDir.getChildFile(code_path).copyFileTo(realCodeDestDir.getChildFile(code_path));

if (code_path.size() > 0)
DBG("Wrote code file to " + code_path);
Expand Down

0 comments on commit 513db44

Please sign in to comment.