1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-28 07:07:45 +00:00
sapphire/src/api/CMakeLists.txt

11 lines
343 B
Text
Raw Normal View History

cmake_minimum_required(VERSION 3.0)
2018-12-13 12:40:42 +01:00
cmake_policy( SET CMP0015 NEW )
project( Sapphire )
2017-08-08 13:53:47 +02:00
2018-12-13 12:40:42 +01:00
file( GLOB SERVER_PUBLIC_INCLUDE_FILES "${CMAKE_CURRENT_SOURCE_DIR}/*" )
file( GLOB SERVER_SOURCE_FILES "${CMAKE_CURRENT_SOURCE_DIR}*.c*" )
2017-08-08 13:53:47 +02:00
2018-12-13 12:40:42 +01:00
add_executable( api ${SERVER_PUBLIC_INCLUDE_FILES} ${SERVER_SOURCE_FILES} )
2017-08-08 13:53:47 +02:00
2018-12-13 12:40:42 +01:00
target_link_libraries( api common )