mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 08:47:17 +01:00
13 lines
363 B
CMake
13 lines
363 B
CMake
|
# Create the SqSDK library
|
||
|
add_library(SqSDK STATIC
|
||
|
include/SqConfSDK.h
|
||
|
include/SqAPI.h
|
||
|
include/SqMod.h
|
||
|
SqMod.cpp
|
||
|
)
|
||
|
# Library includes
|
||
|
target_include_directories(SqSDK PRIVATE ${CMAKE_CURRENT_LIST_DIR})
|
||
|
target_include_directories(SqSDK PUBLIC ${CMAKE_CURRENT_LIST_DIR}/include)
|
||
|
# Link to required libraries
|
||
|
target_link_libraries(SqSDK PRIVATE VCMP Squirrel)
|