mirror of
https://github.com/open-goal/jak-project.git
synced 2024-11-27 08:20:47 +00:00
some cmake adjustments
This commit is contained in:
parent
a87060320a
commit
710e12cfed
@ -27,7 +27,6 @@ set(CMAKE_ASM_NASM_SOURCE_FILE_EXTENSIONS ${CMAKE_ASM_NASM_SOURCE_FILE_EXTENSION
|
||||
set(CMAKE_ASM_NASM_COMPILE_OBJECT "<CMAKE_ASM_NASM_COMPILER> <INCLUDES> <FLAGS> -f ${CMAKE_ASM_NASM_OBJECT_FORMAT} -o <OBJECT> <SOURCE>")
|
||||
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.
|
||||
|
@ -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)
|
Loading…
Reference in New Issue
Block a user