Files
Vangers/lib/xgraph/CMakeLists.txt
2022-05-12 21:26:44 +07:00

19 lines
284 B
CMake

include_directories(
"${PROJECT_SOURCE_DIR}/lib/xtool"
)
SET(xgraph_SRCS
xfont.cpp
xgraph.cpp
xbmp.cpp
xside.cpp
)
if (ANDROID)
ADD_LIBRARY(xgraph OBJECT ${xgraph_SRCS})
else()
ADD_LIBRARY(xgraph STATIC ${xgraph_SRCS})
TARGET_LINK_LIBRARIES(xgraph ${SDL2_LIBRARY})
endif()