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(tabfunc tabfunc.c) |
21 |
target_link_libraries(tabfunc rtrad) |
22 |
|
23 |
add_executable(total total.c) |
24 |
target_link_libraries(total rtrad ${LIB_M}) |
25 |
|
26 |
install(TARGETS |
27 |
cnt |
28 |
ev |
29 |
histo |
30 |
icalc |
31 |
neaten |
32 |
rcalc |
33 |
rlam |
34 |
tabfunc |
35 |
total |
36 |
RUNTIME DESTINATION "bin" |
37 |
) |
38 |
|
39 |
file(GLOB_RECURSE cal_files "cal/*.*") |
40 |
file(COPY ${cal_files} |
41 |
DESTINATION "${CMAKE_BINARY_DIR}/lib" |
42 |
) |