forked from metin2/server
15 lines
252 B
CMake
15 lines
252 B
CMake
cmake_minimum_required(VERSION 2.8)
|
|
|
|
project(libpoly CXX)
|
|
|
|
# Find source files
|
|
file(GLOB SOURCES
|
|
"src/*.cc"
|
|
"include/*.h"
|
|
)
|
|
|
|
# Include header files
|
|
include_directories("include")
|
|
|
|
# Create shared library
|
|
add_library(${PROJECT_NAME} STATIC ${SOURCES}) |