yaze_build_clib flag for cmake

This commit is contained in:
scawful
2024-08-26 12:05:19 -04:00
parent f3b0723ca4
commit 20f7f04520

View File

@@ -119,6 +119,7 @@ endif()
include(test/CMakeLists.txt)
if (YAZE_BUILD_CLIB)
# Yaze C API
add_library(
yaze_c SHARED
@@ -161,8 +162,10 @@ if (YAZE_INSTALL_CLIB)
install(
FILES
yaze.h
base/sprite.h
base/snes_color.h
yaze.h
base/sprite.h
base/snes_color.h
base/overworld.h
DESTINATION include)
endif()
endif()