20 lines
251 B
CMake
20 lines
251 B
CMake
add_library(nf7core_sdl2)
|
|
target_sources(nf7core_sdl2
|
|
PRIVATE
|
|
mod.c
|
|
poll.priv.h
|
|
win.c
|
|
PUBLIC
|
|
win.h
|
|
)
|
|
target_link_libraries(nf7core_sdl2
|
|
PRIVATE
|
|
nf7if
|
|
nf7util
|
|
OpenGL
|
|
SDL2
|
|
)
|
|
target_tests(nf7core_sdl2
|
|
win.test.c
|
|
)
|