2024-02-10 15:16:00 +00:00
|
|
|
cmake_minimum_required(VERSION 3.2)
|
|
|
|
|
2024-02-16 21:47:37 +00:00
|
|
|
project(gux LANGUAGES C)
|
2024-02-10 15:16:00 +00:00
|
|
|
|
2024-02-16 21:47:37 +00:00
|
|
|
add_executable(gux
|
2024-02-10 15:16:00 +00:00
|
|
|
src/main.c
|
|
|
|
)
|
|
|
|
|
2024-02-16 21:47:37 +00:00
|
|
|
set_property(TARGET gux PROPERTY C_STANDARD 99)
|
2024-02-10 15:16:00 +00:00
|
|
|
|
2024-02-16 21:47:37 +00:00
|
|
|
add_dependencies(gux gux-vm)
|
2024-02-10 15:16:00 +00:00
|
|
|
|
2024-02-16 21:47:37 +00:00
|
|
|
target_include_directories(gux
|
|
|
|
PUBLIC gux-vm
|
2024-02-10 15:16:00 +00:00
|
|
|
)
|
|
|
|
|
2024-02-16 21:47:37 +00:00
|
|
|
target_link_libraries(gux
|
2024-02-10 15:16:00 +00:00
|
|
|
PUBLIC gux-vm
|
|
|
|
PUBLIC gux-lang
|
|
|
|
PUBLIC gux-lib
|
|
|
|
)
|
|
|
|
|
2024-02-16 21:47:37 +00:00
|
|
|
install(TARGETS gux)
|