mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 00:57:44 -04:00
de5aa7e5e4
* move things to the common library and remove next_dir * fix for windows * one last windows fix * last fix for real this time * debug listener test * fix listener threading bug
37 lines
1,009 B
CMake
37 lines
1,009 B
CMake
add_subdirectory(goos)
|
|
add_subdirectory(listener)
|
|
|
|
add_library(compiler
|
|
SHARED
|
|
emitter/CodeTester.cpp
|
|
emitter/ObjectFileData.cpp
|
|
emitter/ObjectGenerator.cpp
|
|
emitter/Register.cpp
|
|
compiler/Compiler.cpp
|
|
compiler/Env.cpp
|
|
compiler/Val.cpp
|
|
compiler/IR.cpp
|
|
compiler/CodeGenerator.cpp
|
|
compiler/compilation/Atoms.cpp
|
|
compiler/compilation/CompilerControl.cpp
|
|
compiler/compilation/Block.cpp
|
|
compiler/compilation/Macro.cpp
|
|
compiler/compilation/Define.cpp
|
|
compiler/Util.cpp
|
|
logger/Logger.cpp
|
|
regalloc/IRegister.cpp
|
|
regalloc/Allocator.cpp
|
|
regalloc/allocate.cpp
|
|
compiler/Compiler.cpp)
|
|
|
|
add_executable(goalc main.cpp)
|
|
|
|
IF (WIN32)
|
|
target_link_libraries(compiler goos type_system listener mman common_util)
|
|
|
|
ELSE ()
|
|
target_link_libraries(compiler goos type_system listener common_util)
|
|
ENDIF ()
|
|
|
|
target_link_libraries(goalc goos compiler type_system)
|