Skip to content
This repository was archived by the owner on May 2, 2023. It is now read-only.

Commit 96d20c4

Browse files
committed
update opensiv3d v0.6 template
1 parent d91dfc9 commit 96d20c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/hello-opensiv3d-v6/build.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Service, project } from "@wasm/studio-utils";
44
gulp.task("build", async () => {
55
const data = await Service.compileFiles([
66
project.getFile("src/main.cpp"),
7-
], "cpp", "wasm", "-Wall -std=c++2a -O2 -include-pch /include/OpenSiv3Dv0.6/Siv3D.O2.pch -I/include/OpenSiv3Dv0.6/ -I/include/OpenSiv3Dv0.6/ThirdParty/ -s SIDE_MODULE=1 -s ASYNCIFY=1 -s ASYNCIFY_IGNORE_INDIRECT=1 -s ASYNCIFY_IMPORTS=\"[ '_ZN3s3d6System6UpdateEv' ]\" -D_XM_NO_INTRINSICS_ -s ASYNCIFY_ADD=\"[ 'Main()' ]\"");
7+
], "cpp", "wasm", "-Wall -std=c++2a -O2 -include-pch /include/OpenSiv3Dv0.6/Siv3D.O2.pch -I/include/OpenSiv3Dv0.6/ -I/include/OpenSiv3Dv0.6/ThirdParty/ -s SIDE_MODULE=1 -D_XM_NO_INTRINSICS_");
88
const outWasm = project.newFile("src/main.wasm", "wasm", true);
99
outWasm.setData(data["a.wasm"]);
1010
});

0 commit comments

Comments
 (0)