jak-project/test/CMakeLists.txt

24 lines
646 B
CMake
Raw Normal View History

enable_testing()
2020-08-22 22:30:12 -04:00
add_executable(goalc-test
test_main.cpp
2020-08-29 14:52:45 -04:00
#test_test.cpp
test_reader.cpp #problematic
#test_goos.cpp #problematic
#test_listener_deci2.cpp
#all_jak1_symbols.cpp
#test_kernel.cpp
#test_CodeTester.cpp
#test_type_system.cpp
)
2020-08-22 22:30:12 -04:00
2020-08-26 22:23:16 -04:00
IF (WIN32)
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
2020-08-26 22:23:16 -04:00
# TODO - implement windows listener
message("Windows Listener Not Implemented!")
target_link_libraries(goalc-test mman goos util runtime emitter type_system gtest)
2020-08-26 22:23:16 -04:00
ELSE()
target_link_libraries(goalc-test goos util listener runtime emitter type_system gtest)
ENDIF()