25 lines
358 B
CMake
25 lines
358 B
CMake
|
cmake_minimum_required(VERSION 3.2)
|
||
|
|
||
|
project(guxi LANGUAGES C)
|
||
|
|
||
|
add_executable(guxi
|
||
|
src/main.c
|
||
|
)
|
||
|
|
||
|
set_property(TARGET guxi PROPERTY C_STANDARD 99)
|
||
|
|
||
|
add_dependencies(guxi gux-vm)
|
||
|
|
||
|
target_include_directories(guxi
|
||
|
PUBLIC gux-vm gux-bc
|
||
|
)
|
||
|
|
||
|
target_link_libraries(guxi
|
||
|
PUBLIC gux-vm
|
||
|
PUBLIC gux-lang
|
||
|
PUBLIC gux-bc
|
||
|
PUBLIC gux-lib
|
||
|
)
|
||
|
|
||
|
install(TARGETS guxi)
|