mirror of
https://github.com/open-goal/jak-project
synced 2026-06-03 02:30:13 -04:00
oh no, im actually starting to understand cmake
This commit is contained in:
@@ -17,13 +17,14 @@ add_library(compiler
|
||||
regalloc/IRegister.cpp
|
||||
regalloc/Allocator.cpp
|
||||
regalloc/allocate.cpp
|
||||
compiler/Compiler.cpp
|
||||
)
|
||||
compiler/Compiler.cpp)
|
||||
|
||||
add_executable(goalc main.cpp)
|
||||
|
||||
IF (WIN32)
|
||||
target_link_libraries(compiler cross_sockets util goos type_system mman)
|
||||
ELSE()
|
||||
target_link_libraries(compiler cross_sockets util goos goalc type_system)
|
||||
target_link_libraries(compiler fmt mman type_system)
|
||||
ELSE ()
|
||||
target_link_libraries(compiler fmt type_system)
|
||||
ENDIF()
|
||||
|
||||
target_link_libraries(goalc util goos compiler)
|
||||
@@ -1,2 +1,3 @@
|
||||
add_library(listener SHARED
|
||||
Listener.cpp)
|
||||
add_library(listener SHARED Listener.cpp)
|
||||
|
||||
target_link_libraries(listener cross_sockets)
|
||||
Reference in New Issue
Block a user