aboutsummaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
blob: 44ae5d434cae099f4c22d3980ea0d9d4c2ef8a44 (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 "South-RPC")
plugin_manifest(SouthRPC displayname "South RPC")
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)