mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-27 14:57:44 +00:00
10 lines
343 B
CMake
10 lines
343 B
CMake
cmake_minimum_required(VERSION 3.0)
|
|
cmake_policy( SET CMP0015 NEW )
|
|
project( Sapphire )
|
|
|
|
file( GLOB SERVER_PUBLIC_INCLUDE_FILES "${CMAKE_CURRENT_SOURCE_DIR}/*" )
|
|
file( GLOB SERVER_SOURCE_FILES "${CMAKE_CURRENT_SOURCE_DIR}*.c*" )
|
|
|
|
add_executable( api ${SERVER_PUBLIC_INCLUDE_FILES} ${SERVER_SOURCE_FILES} )
|
|
|
|
target_link_libraries( api common )
|