15 lines
305 B
CMake
15 lines
305 B
CMake
|
|
||
|
cmake_minimum_required(VERSION 3.19)
|
||
|
|
||
|
project(ctai)
|
||
|
# 设置库的版本号
|
||
|
set_target_properties(sui PROPERTIES VERSION 1.0 SOVERSION 1)
|
||
|
|
||
|
#include dir
|
||
|
include_directories(${PROJECT_SOURCE_DIR}/include)
|
||
|
|
||
|
file(GLOB SRC_LIST "${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp")
|
||
|
|
||
|
add_library(ctai STATIC ${SRC_LIST})
|
||
|
|