2018-06-25 09:44:58 +02:00
|
|
|
# CMakeLists.txt.
|
|
|
|
#
|
2022-03-15 09:18:01 -04:00
|
|
|
# Author: Steffen Vogel <post@steffenvogel.de>
|
2022-03-15 09:28:57 -04:00
|
|
|
# SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University
|
2022-07-04 18:20:03 +02:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2018-06-25 09:44:58 +02:00
|
|
|
|
|
|
|
# Plugins
|
|
|
|
link_libraries(villas)
|
|
|
|
add_definitions("-DVILLAS")
|
|
|
|
|
|
|
|
if(WITH_HOOKS)
|
2019-03-26 15:33:47 +01:00
|
|
|
add_library(example_hook MODULE example_hook.cpp)
|
2018-06-30 01:29:45 +02:00
|
|
|
install(
|
|
|
|
TARGETS example_hook
|
|
|
|
COMPONENT plugins
|
|
|
|
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBEXECDIR}/villas/node/plugins
|
|
|
|
)
|
2018-06-25 09:44:58 +02:00
|
|
|
endif()
|