aboutsummaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
blob: bddc237b4dde4f8ea37ed8d97307f235c9149a82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
include_directories(${CMAKE_CURRENT_SOURCE_DIR})

find_package(spdlog REQUIRED)

plugin_manifest(SouthRPC name "SouthRPC")
plugin_manifest(SouthRPC displayname "SouthRPC")
plugin_manifest(SouthRPC description "Implements JSON-RPC Bridge for Northstar over TCP/IP")
plugin_manifest(SouthRPC run_on_server OFF)
plugin_manifest(SouthRPC run_on_client ON)

add_library(SouthRPC SHARED
	${CMAKE_CURRENT_SOURCE_DIR}/init.cpp
)

target_precompile_headers(SouthRPC PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/plugin.h)

plugin_link(SouthRPC)