Skip to content

Commit cbc520a

Browse files
authored
Try to fix em++: error: entry symbol not defined (pass --no-entry to suppress): main for script=1 build Emscripten
1 parent 4042234 commit cbc520a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ if(EMSCRIPTEN)
7070
PUBLIC "SHELL: --preload-file ../${XEUS_CPP_DATA_DIR}@/share/xeus-cpp"
7171
PUBLIC "SHELL: --preload-file ../${XEUS_CPP_CONF_DIR}@/etc/xeus-cpp"
7272
PUBLIC "SHELL: -s STRICT=1"
73+
PUBLIC "SHELL: --no-entry"
7374
)
7475

7576
target_include_directories(test_xeus_cpp PRIVATE ${XEUS_CPP_INCLUDE_DIR})

0 commit comments

Comments
 (0)