jak-project/goalc/CMakeLists.txt

18 lines
388 B
CMake

add_subdirectory(util)
add_subdirectory(goos)
IF (WIN32)
# TODO - implement windows listener
message("Windows Listener Not Implemented!")
ELSE()
add_subdirectory(listener)
ENDIF()
add_subdirectory(emitter)
add_executable(goalc main.cpp
compiler/Compiler.cpp)
IF (WIN32)
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
ENDIF()
target_link_libraries(goalc util goos type_system)