diff --git a/src/Generator/Generators/Emscripten/EmscriptenGenerator.cs b/src/Generator/Generators/Emscripten/EmscriptenGenerator.cs index 69dbf5f8d..2aa3c6aec 100644 --- a/src/Generator/Generators/Emscripten/EmscriptenGenerator.cs +++ b/src/Generator/Generators/Emscripten/EmscriptenGenerator.cs @@ -69,7 +69,7 @@ public override GeneratorOutput GenerateModule(Module module) { TranslationUnit = new TranslationUnit { - FilePath = $"__Module.cpp", + FilePath = $"_Module.cpp", Module = module }, Outputs = new List { moduleGen } diff --git a/src/Generator/Generators/QuickJS/QuickJSGenerator.cs b/src/Generator/Generators/QuickJS/QuickJSGenerator.cs index 8462b6b6f..d7e7bc746 100644 --- a/src/Generator/Generators/QuickJS/QuickJSGenerator.cs +++ b/src/Generator/Generators/QuickJS/QuickJSGenerator.cs @@ -75,7 +75,7 @@ public override GeneratorOutput GenerateModule(Module module) { TranslationUnit = new TranslationUnit { - FilePath = $"QJSModule.cpp", + FilePath = $"_Module.cpp", Module = module }, Outputs = new List { moduleGen }