mirror of
https://github.com/DaKerboul/perun.git
synced 2026-08-09 19:55:40 +02:00
renamed to pierog, extracted socket and file writers
This commit is contained in:
25
03_Perun_Lua_Wrapper/pierog/CmakeLists.txt
Normal file
25
03_Perun_Lua_Wrapper/pierog/CmakeLists.txt
Normal file
@@ -0,0 +1,25 @@
|
||||
cmake_minimum_required(VERSION 3.17)
|
||||
project(pierog)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 20)
|
||||
|
||||
set(PIEROG_DLL_SOURCES
|
||||
"src/library.h"
|
||||
"src/library.cpp"
|
||||
src/RotatingFileOutput.cpp
|
||||
src/SocketOutput.cpp
|
||||
src/DataDistributor.cpp
|
||||
src/RotatingFileOutput.h
|
||||
src/SocketOutput.h
|
||||
src/DataDistributor.h)
|
||||
|
||||
include(GenerateExportHeader)
|
||||
add_library(pierog SHARED ${PIEROG_DLL_SOURCES})
|
||||
|
||||
target_link_libraries(
|
||||
pierog
|
||||
lua-5.1.5
|
||||
ws2_32
|
||||
)
|
||||
|
||||
target_include_directories(pierog PUBLIC ${PIEROG_DLL_SOURCES})
|
||||
Reference in New Issue
Block a user