2 set(GMXPREPROCESS_SOURCES
36 do_gct.c repl_ex.c xutils.c
37 md.c mdrun.c genalg.c)
39 add_library(gmxpreprocess ${GMXPREPROCESS_SOURCES})
40 target_link_libraries(gmxpreprocess md)
43 add_library(fahcore ${MDRUN_SOURCES})
46 list(APPEND GMX_EXTRA_LIBRARIES gmxpreprocess md)
48 add_executable(grompp grompp.c)
49 target_link_libraries(grompp ${GMX_EXTRA_LIBRARIES})
51 add_executable(tpbconv tpbconv.c)
52 target_link_libraries(tpbconv ${GMX_EXTRA_LIBRARIES})
54 add_executable(pdb2gmx pdb2gmx.c)
55 target_link_libraries(pdb2gmx ${GMX_EXTRA_LIBRARIES})
57 add_executable(protonate protonate.c)
58 target_link_libraries(protonate ${GMX_EXTRA_LIBRARIES})
60 add_executable(luck luck.c)
61 target_link_libraries(luck ${GMX_EXTRA_LIBRARIES})
63 add_executable(gmxdump gmxdump.c)
64 target_link_libraries(gmxdump ${GMX_EXTRA_LIBRARIES})
66 add_executable(x2top x2top.c)
67 target_link_libraries(x2top ${GMX_EXTRA_LIBRARIES})
69 add_executable(gmxcheck gmxcheck.c)
70 target_link_libraries(gmxcheck ${GMX_EXTRA_LIBRARIES})
72 add_executable(mdrun ${MDRUN_SOURCES})
73 target_link_libraries(mdrun ${GMX_EXTRA_LIBRARIES})
85 gmxpreprocess DESTINATION ${LIB_INSTALL_DIR}
86 RUNTIME DESTINATION ${BIN_INSTALL_DIR})