WiiDuktape/source/duktape/CMakeLists.txt
Fries 63bb2916ca move duktape code into a static library.
this means i can try out making a launcher that launches into other
javascript engines like quickjs.
2024-06-25 14:08:04 -07:00

13 lines
400 B
CMake

set(duktape_engine_sources
duktape_engine.c
grrlib_duk.c
rgba.c
wii_duk.c
)
add_library(duktape_engine ${duktape_engine_sources})
target_link_libraries(duktape_engine duktape)
target_link_libraries(duktape_engine GRRLIB)
target_link_libraries(duktape_engine assets)
target_include_directories(duktape_engine PUBLIC ./include)
target_include_directories(duktape_engine PRIVATE ./include_private)