mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
49 lines
953 B
CMake
49 lines
953 B
CMake
# CMakeLists.
|
|
#
|
|
# @author Steffen Vogel <post@steffenvogel.de>
|
|
# @copyright 2014-2022, Institute for Automation of Complex Power Systems, EONERC
|
|
# @license Apache 2.0
|
|
###################################################################################
|
|
|
|
set(HOOK_SRC
|
|
average.cpp
|
|
cast.cpp
|
|
decimate.cpp
|
|
dp.cpp
|
|
drop.cpp
|
|
dump.cpp
|
|
ebm.cpp
|
|
fix.cpp
|
|
gate.cpp
|
|
jitter_calc.cpp
|
|
limit_rate.cpp
|
|
limit_value.cpp
|
|
ma.cpp
|
|
power.cpp
|
|
pmu.cpp
|
|
pmu_dft.cpp
|
|
pmu_ipdft.cpp
|
|
pps_ts.cpp
|
|
print.cpp
|
|
restart.cpp
|
|
rms.cpp
|
|
round.cpp
|
|
scale.cpp
|
|
shift_seq.cpp
|
|
shift_ts.cpp
|
|
skip_first.cpp
|
|
stats.cpp
|
|
ts.cpp
|
|
)
|
|
|
|
if(WITH_LUA)
|
|
list(APPEND HOOK_SRC lua.cpp)
|
|
endif()
|
|
|
|
if(WITH_OPENMP)
|
|
list(APPEND LIBRARIES OpenMP::OpenMP_CXX)
|
|
endif()
|
|
|
|
add_library(hooks STATIC ${HOOK_SRC})
|
|
target_include_directories(hooks PUBLIC ${INCLUDE_DIRS})
|
|
target_link_libraries(hooks PUBLIC ${LIBRARIES})
|