diff --git a/game/CMakeLists.txt b/game/CMakeLists.txt index 8b0f502456..468b2bb6fa 100644 --- a/game/CMakeLists.txt +++ b/game/CMakeLists.txt @@ -27,7 +27,6 @@ set(CMAKE_ASM_NASM_SOURCE_FILE_EXTENSIONS ${CMAKE_ASM_NASM_SOURCE_FILE_EXTENSION set(CMAKE_ASM_NASM_COMPILE_OBJECT " -f ${CMAKE_ASM_NASM_OBJECT_FORMAT} -o ") set_source_files_properties(kernel/asm_funcs.asm PROPERTIES COMPILE_FLAGS "-g") set(RUNTIME_SOURCE - main.cpp runtime.cpp system/SystemThread.cpp system/IOP_Kernel.cpp @@ -69,7 +68,7 @@ set(RUNTIME_SOURCE overlord/stream.cpp) # the runtime should be built without any static/dynamic libraries. -add_executable(gk ${RUNTIME_SOURCE}) +add_executable(gk ${RUNTIME_SOURCE} main.cpp) # we also build a runtime library for testing. This version is likely unable to call GOAL code correctly, but # can be used to test other things. diff --git a/goalc/goos/CMakeLists.txt b/goalc/goos/CMakeLists.txt index 2da8649efc..a6b2e6b489 100644 --- a/goalc/goos/CMakeLists.txt +++ b/goalc/goos/CMakeLists.txt @@ -1,2 +1,2 @@ -add_library(goos STATIC Object.cpp TextDB.cpp Reader.cpp Interpreter.cpp InterpreterEval.cpp) +add_library(goos SHARED Object.cpp TextDB.cpp Reader.cpp Interpreter.cpp InterpreterEval.cpp) target_link_libraries(goos util) \ No newline at end of file