@@ -15,7 +15,7 @@ if (${CMAKE_BUILD_TYPE} STREQUAL Release)
15
15
else ()
16
16
set (REMGLK_RS_LIB_FOLDER ${CMAKE_CURRENT_SOURCE_DIR} /remglk/target /wasm32-unknown-emscripten/debug)
17
17
endif ()
18
-
18
+ #[[
19
19
add_executable(glulxe)
20
20
add_sources(glulxe "glulxe/"
21
21
SRCS accel.c debugger.c exec.c files.c float.c funcs.c
@@ -24,7 +24,10 @@ add_sources(glulxe "glulxe/"
24
24
emglken_vm(glulxe)
25
25
target_compile_definitions(glulxe PRIVATE OS_UNIX)
26
26
target_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
+ ]]
28
31
#[[
29
32
add_executable(glulxe-profiler-core)
30
33
add_sources(glulxe-profiler-core "glulxe/"
@@ -51,6 +54,7 @@ target_compile_options(bocfel PRIVATE -Wall)
51
54
target_compile_options (bocfel PRIVATE -fexceptions)
52
55
target_link_options (bocfel PRIVATE -sNO_DISABLE_EXCEPTION_CATCHING)
53
56
57
+ #[[
54
58
add_executable(git)
55
59
add_sources(git "git/"
56
60
SRCS accel.c compiler.c gestalt.c git.c glkop.c heap.c
@@ -114,4 +118,4 @@ if (${CMAKE_BUILD_TYPE} STREQUAL Debug)
114
118
# TADS needs to be compiled in at least -O2, or else it will use 4GB+ of RAM and be very slow
115
119
target_compile_options(tads PRIVATE -O2)
116
120
target_link_options(tads PRIVATE -O2)
117
- endif ()
121
+ endif()]]
0 commit comments