| 1 |
greg |
1.1 |
set(common_src mfio.c syscalls.c misc.c) |
| 2 |
|
|
|
| 3 |
|
|
add_executable(bgraph bgraph.c mgvars.c mgraph.c) |
| 4 |
|
|
target_link_libraries(bgraph meta rtrad) |
| 5 |
|
|
|
| 6 |
|
|
add_executable(cv cv.c mfio.c cvhfio.c syscalls.c misc.c) |
| 7 |
|
|
target_link_libraries(cv rtrad) |
| 8 |
|
|
|
| 9 |
|
|
add_executable(dgraph dgraph.c cgraph.c mgvars.c) |
| 10 |
|
|
target_link_libraries(dgraph rtrad) |
| 11 |
|
|
|
| 12 |
|
|
add_executable(gcomp gcomp.c gcalc.c mgvars.c) |
| 13 |
|
|
target_link_libraries(gcomp rtrad) |
| 14 |
|
|
|
| 15 |
|
|
add_executable(igraph igraph.c mgvars.c mgraph.c gcalc.c cgraph.c) |
| 16 |
|
|
target_link_libraries(igraph meta rtrad) |
| 17 |
|
|
|
| 18 |
|
|
add_library(meta metacalls.c primout.c progname.c ${common_src}) |
| 19 |
|
|
|
| 20 |
|
|
add_executable(meta2bmp meta2bmp.c rplot.c plot.c palloc.c ${common_src}) |
| 21 |
|
|
target_link_libraries(meta2bmp rtrad) |
| 22 |
|
|
|
| 23 |
|
|
add_executable(meta2tga meta2tga.c rplot.c plot.c palloc.c ${common_src}) |
| 24 |
|
|
target_link_libraries(meta2tga rtrad) |
| 25 |
|
|
|
| 26 |
|
|
add_executable(mtext mtext.c primout.c ${common_src}) |
| 27 |
|
|
target_link_libraries(mtext rtrad) |
| 28 |
|
|
|
| 29 |
|
|
add_executable(pexpand pexpand.c expand.c segment.c palloc.c ${common_src}) |
| 30 |
|
|
target_link_libraries(pexpand rtrad) |
| 31 |
|
|
|
| 32 |
|
|
add_executable(plot4 plot4.c primout.c ${common_src}) |
| 33 |
|
|
target_link_libraries(plot4 rtrad) |
| 34 |
|
|
|
| 35 |
|
|
add_executable(plotin plotin.c primout.c ${common_src}) |
| 36 |
|
|
target_link_libraries(plotin rtrad) |
| 37 |
|
|
|
| 38 |
|
|
add_executable(psmeta psmeta.c psplot.c ${common_src}) |
| 39 |
|
|
target_link_libraries(psmeta rtrad) |
| 40 |
|
|
|
| 41 |
|
|
add_executable(psort psort.c sort.c palloc.c ${common_src}) |
| 42 |
|
|
target_link_libraries(psort rtrad) |
| 43 |
|
|
|
| 44 |
|
|
#add_executable(tbar tbar.c tgraph.c primout.c) |
| 45 |
|
|
#target_link_libraries(tbar rtrad) |
| 46 |
|
|
|
| 47 |
|
|
#add_executable(tcurve tcurve.c tgraph.c primout.c) |
| 48 |
|
|
#target_link_libraries(tcurve ${LIB_M}) |
| 49 |
|
|
|
| 50 |
|
|
#add_executable(tscat tscat.c tgraph.c primout.c) |
| 51 |
|
|
#target_link_libraries(tscat rtrad) |
| 52 |
|
|
|
| 53 |
|
|
if(X11_FOUND) |
| 54 |
|
|
add_executable(x11meta xmeta.c x11plot.c plot.c palloc.c ${common_src}) |
| 55 |
|
|
target_link_libraries(x11meta rtrad ${X11_LIBRARIES}) |
| 56 |
|
|
install(TARGETS x11meta RUNTIME DESTINATION bin) |
| 57 |
|
|
endif() |
| 58 |
|
|
|
| 59 |
|
|
install(TARGETS meta2tga pexpand psort cv psmeta plotin bgraph igraph dgraph |
| 60 |
|
|
gcomp plot4 meta2bmp |
| 61 |
|
|
RUNTIME DESTINATION bin) |