mirror of
https://github.com/KranX/Vangers.git
synced 2025-12-01 07:25:28 +07:00
19 lines
284 B
CMake
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()
|
|
|