-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
53 lines (49 loc) · 1.02 KB
/
CMakeLists.txt
File metadata and controls
53 lines (49 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# 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(HOOK_SRC
average.cpp
cast.cpp
decimate.cpp
digest.cpp
dp.cpp
drop.cpp
dump.cpp
ebm.cpp
fix.cpp
frame.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
reorder_ts.cpp
restart.cpp
rms.cpp
round.cpp
scale.cpp
shift_seq.cpp
shift_ts.cpp
skip_first.cpp
stats.cpp
ts.cpp
create_chronics.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})
target_link_libraries(hooks PUBLIC ${BZIP2_LIBRARIES})