2018-06-21 09:36:49 +02:00
|
|
|
# CMakeLists.
|
|
|
|
#
|
|
|
|
# @author Steffen Vogel <stvogel@eonerc.rwth-aachen.de>
|
2020-01-20 17:17:00 +01:00
|
|
|
# @copyright 2014-2020, Institute for Automation of Complex Power Systems, EONERC
|
2018-06-21 09:36:49 +02:00
|
|
|
# @license GNU General Public License (version 3)
|
|
|
|
#
|
|
|
|
# VILLASnode
|
|
|
|
#
|
|
|
|
# This program is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
|
|
# any later version.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
###################################################################################
|
|
|
|
|
|
|
|
set(HOOK_SRC
|
2019-03-26 15:33:47 +01:00
|
|
|
average.cpp
|
|
|
|
cast.cpp
|
|
|
|
decimate.cpp
|
2020-08-29 22:40:49 +02:00
|
|
|
dft.cpp
|
2020-09-10 17:35:35 +02:00
|
|
|
dp.cpp
|
2019-03-26 15:33:47 +01:00
|
|
|
drop.cpp
|
|
|
|
dump.cpp
|
|
|
|
ebm.cpp
|
|
|
|
fix.cpp
|
2019-06-27 01:26:13 +02:00
|
|
|
gate.cpp
|
2019-03-26 15:33:47 +01:00
|
|
|
jitter_calc.cpp
|
|
|
|
limit_rate.cpp
|
2020-08-24 20:57:44 +02:00
|
|
|
limit_value.cpp
|
2021-07-06 16:28:31 +02:00
|
|
|
ma.cpp
|
|
|
|
pps_ts.cpp
|
|
|
|
print.cpp
|
2019-03-26 15:33:47 +01:00
|
|
|
restart.cpp
|
2021-06-18 13:24:49 +02:00
|
|
|
rms.cpp
|
2019-03-26 15:33:47 +01:00
|
|
|
scale.cpp
|
|
|
|
shift_seq.cpp
|
|
|
|
shift_ts.cpp
|
|
|
|
skip_first.cpp
|
|
|
|
stats.cpp
|
|
|
|
ts.cpp
|
2018-06-21 09:36:49 +02:00
|
|
|
)
|
|
|
|
|
2020-12-07 21:30:22 +01:00
|
|
|
if(WITH_LUA)
|
2021-02-19 06:39:23 +01:00
|
|
|
list(APPEND HOOK_SRC lua.cpp)
|
2020-12-07 21:30:22 +01:00
|
|
|
endif()
|
|
|
|
|
2021-06-23 20:05:56 +02:00
|
|
|
if(WITH_OPENMP)
|
|
|
|
list(APPEND LIBRARIES OpenMP::OpenMP_CXX)
|
|
|
|
endif()
|
|
|
|
|
2018-07-03 18:25:15 +02:00
|
|
|
add_library(hooks STATIC ${HOOK_SRC})
|
|
|
|
target_include_directories(hooks PUBLIC ${INCLUDE_DIRS})
|
2020-06-14 15:00:02 +02:00
|
|
|
target_link_libraries(hooks PUBLIC ${LIBRARIES})
|