1 |
add_executable(cnt cnt.c) |
2 |
|
3 |
add_executable(ev ev.c) |
4 |
target_link_libraries(ev rtrad) |
5 |
|
6 |
add_executable(histo histo.c) |
7 |
target_link_libraries(histo ${LIB_M}) |
8 |
|
9 |
add_executable(icalc calc.c) |
10 |
target_link_libraries(icalc rtrad) |
11 |
|
12 |
add_executable(neaten neat.c) |
13 |
|
14 |
add_executable(rcalc rcalc.c) |
15 |
target_link_libraries(rcalc rtrad) |
16 |
|
17 |
add_executable(rlam lam.c) |
18 |
target_link_libraries(rlam rtrad) |
19 |
|
20 |
add_executable(rsplit rsplit.c) |
21 |
target_link_libraries(rsplit rtrad) |
22 |
|
23 |
add_executable(tabfunc tabfunc.c) |
24 |
target_link_libraries(tabfunc rtrad) |
25 |
|
26 |
add_executable(total total.c) |
27 |
target_link_libraries(total rtrad ${LIB_M}) |
28 |
|
29 |
install(TARGETS |
30 |
cnt |
31 |
ev |
32 |
histo |
33 |
icalc |
34 |
neaten |
35 |
rcalc |
36 |
rlam |
37 |
rsplit |
38 |
tabfunc |
39 |
total |
40 |
RUNTIME DESTINATION "bin" |
41 |
) |
42 |
|
43 |
file(GLOB_RECURSE cal_files "cal/*.*") |
44 |
file(COPY ${cal_files} |
45 |
DESTINATION "${CMAKE_BINARY_DIR}/lib" |
46 |
) |