@@ -15,7 +15,7 @@ if (${CMAKE_BUILD_TYPE} STREQUAL Release)
1515else ()
1616 set (REMGLK_RS_LIB_FOLDER ${CMAKE_CURRENT_SOURCE_DIR} /remglk/target /wasm32-unknown-emscripten/debug)
1717endif ()
18-
18+ #[[
1919add_executable(glulxe)
2020add_sources(glulxe "glulxe/"
2121 SRCS accel.c debugger.c exec.c files.c float.c funcs.c
@@ -24,7 +24,10 @@ add_sources(glulxe "glulxe/"
2424emglken_vm(glulxe)
2525target_compile_definitions(glulxe PRIVATE OS_UNIX)
2626target_compile_options(glulxe PRIVATE -Wall -Wmissing-prototypes -Wno-unused)
27-
27+ #target_link_options(glulxe PRIVATE -sASYNCIFY_IGNORE_INDIRECT)
28+ #target_link_options(glulxe PRIVATE -sASYNCIFY_ADD=@${CMAKE_CURRENT_LIST_DIR}/src/add-list-glulxe.txt)
29+ #target_link_options(glulxe PRIVATE -sASYNCIFY_REMOVE=@${CMAKE_CURRENT_LIST_DIR}/src/remove-list-glulxe.txt)
30+ ]]
2831#[[
2932add_executable(glulxe-profiler-core)
3033add_sources(glulxe-profiler-core "glulxe/"
@@ -51,6 +54,7 @@ target_compile_options(bocfel PRIVATE -Wall)
5154target_compile_options (bocfel PRIVATE -fexceptions)
5255target_link_options (bocfel PRIVATE -sNO_DISABLE_EXCEPTION_CATCHING)
5356
57+ #[[
5458add_executable(git)
5559add_sources(git "git/"
5660 SRCS accel.c compiler.c gestalt.c git.c glkop.c heap.c
@@ -114,4 +118,4 @@ if (${CMAKE_BUILD_TYPE} STREQUAL Debug)
114118 # TADS needs to be compiled in at least -O2, or else it will use 4GB+ of RAM and be very slow
115119 target_compile_options(tads PRIVATE -O2)
116120 target_link_options(tads PRIVATE -O2)
117- endif ()
121+ endif()]]
0 commit comments