mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 11:26:18 -04:00
23 lines
616 B
CMake
23 lines
616 B
CMake
enable_testing()
|
|
|
|
add_executable(goalc-test
|
|
test_main.cpp
|
|
test_test.cpp
|
|
test_reader.cpp
|
|
test_goos.cpp
|
|
test_listener_deci2.cpp
|
|
test_kernel.cpp
|
|
test_CodeTester.cpp
|
|
all_jak1_symbols.cpp
|
|
test_type_system.cpp)
|
|
|
|
|
|
IF (WIN32)
|
|
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
|
|
# TODO - implement windows listener
|
|
message("Windows Listener Not Implemented!")
|
|
target_link_libraries(goalc-test mman goos util runtime emitter type_system gtest)
|
|
ELSE()
|
|
target_link_libraries(goalc-test goos util listener runtime emitter type_system gtest)
|
|
ENDIF()
|