RenameServer/CMakeLists.txt
2021-07-08 07:41:34 +02:00

44 lines
978 B
CMake

cmake_minimum_required(VERSION 3.10)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED True)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
include_directories(/usr/local/include)
link_directories(/usr/local/lib)
project(RenameServer)
add_executable(RenameServer
main.cpp
rename_object.cpp
functions.cpp
config/config.cpp
filesystem/unix/filesystem.cpp
jwt.cpp
)
target_link_libraries(RenameServer restbed config++ jwt)
add_library(thetvdb SHARED
thetvdb/tv_rename.cpp
thetvdb/functions.cpp
rename_object.cpp
filesystem/unix/filesystem.cpp
network/unix/network.cpp)
target_link_libraries(thetvdb curl)
add_library(simple SHARED
simple_rename/simple.cpp
rename_object.cpp
filesystem/unix/filesystem.cpp)
add_library(moviedb SHARED
themoviedb/moviedb.cpp
themoviedb/functions.cpp
rename_object.cpp
filesystem/unix/filesystem.cpp
network/unix/network.cpp)
target_link_libraries(moviedb curl)