1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00
VILLASnode/lib/api/CMakeLists.txt
Alexandra b39e4a0ace feat: new smu node-type
Signed-off-by: Alexandra <alexandra.bach@eonerc.rwth-aachen.de>
2025-01-14 14:42:39 +00:00

46 lines
1.1 KiB
CMake

# CMakeLists.
#
# Author: Steffen Vogel <post@steffenvogel.de>
# SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University
# SPDX-License-Identifier: Apache-2.0
set(API_SRC
session.cpp
request.cpp
response.cpp
universal.cpp
requests/node.cpp
requests/path.cpp
requests/universal.cpp
requests/status.cpp
requests/capabiltities.cpp
requests/config.cpp
requests/shutdown.cpp
requests/restart.cpp
requests/nodes.cpp
requests/node_info.cpp
requests/node_action.cpp
requests/node_stats.cpp
requests/node_stats_reset.cpp
requests/node_file.cpp
requests/paths.cpp
requests/path_info.cpp
requests/path_action.cpp
requests/universal/status.cpp
requests/universal/info.cpp
requests/universal/channel.cpp
requests/universal/channels.cpp
)
if(WITH_GRAPHVIZ)
list(APPEND API_SRC requests/graph.cpp)
list(APPEND LIBRARIES PkgConfig::CGRAPH PkgConfig::GVC)
endif()
add_library(api STATIC ${API_SRC})
target_include_directories(api PUBLIC ${INCLUDE_DIRS})
target_link_libraries(api PUBLIC ${LIBRARIES})