2 autocorr.c expfit.c polynomials.c levenmar.c
3 anadih.c pp2shift.c dlist.c
8 gmx_analyze.c gmx_anaeig.c gmx_angle.c gmx_bond.c
9 gmx_bundle.c gmx_chi.c gmx_cluster.c gmx_confrms.c
10 gmx_covar.c gmx_current.c
11 gmx_density.c gmx_densmap.c gmx_dih.c
13 gmx_kinetics.c gmx_spatial.c gmx_tune_pme.c
14 gmx_dipoles.c gmx_disre.c gmx_dist.c gmx_dyndom.c
15 gmx_enemat.c gmx_energy.c gmx_lie.c gmx_filter.c
16 gmx_gyrate.c gmx_h2order.c gmx_hbond.c gmx_helix.c
17 gmx_mindist.c gmx_msd.c gmx_morph.c gmx_nmeig.c
18 gmx_nmens.c gmx_order.c gmx_principal.c
19 gmx_polystat.c gmx_potential.c gmx_rama.c
20 gmx_rdf.c gmx_rms.c gmx_rmsf.c
21 gmx_rotacf.c gmx_saltbr.c gmx_sas.c
22 gmx_rmsdist.c gmx_rotmat.c
23 gmx_sgangle.c gmx_sorient.c gmx_spol.c gmx_tcaf.c
24 gmx_traj.c gmx_velacc.c gmx_helixorient.c
25 gmx_clustsize.c gmx_mdmat.c gmx_wham.c
26 correl.c gmx_sham.c gmx_nmtraj.c
27 gmx_trjconv.c gmx_trjcat.c gmx_trjorder.c gmx_xpm2ps.c
28 gmx_editconf.c gmx_genbox.c gmx_genion.c gmx_genconf.c
29 gmx_genpr.c gmx_eneconv.c gmx_vanhove.c gmx_wheel.c
30 addconf.c calcpot.c edittop.c gmx_bar.c
31 gmx_pme_error.c gmx_options.c gmx_dos.c
32 gmx_hydorder.c gmx_densorder.c powerspect.c dens_filter.c
37 target_link_libraries(gmxana libgromacs ${GSL_LIBRARIES})
38 set_target_properties(gmxana PROPERTIES OUTPUT_NAME "gmxana${GMX_LIBS_SUFFIX}" SOVERSION ${SOVERSION} INSTALL_NAME_DIR "${LIB_INSTALL_DIR}")
40 # List of programs with single corresponding .c source file,
41 # used to create build rules automatically.
43 set(GMX_TOOLS_PROGRAMS
44 do_dssp editconf eneconv genbox genconf genrestr g_nmtraj
45 make_ndx mk_angndx trjcat trjconv trjorder g_wheel
46 xpm2ps genion g_anadock make_edi g_analyze g_anaeig
47 g_angle g_bond g_bundle g_chi g_cluster g_confrms g_covar
48 g_current g_density g_densmap g_dih g_dielectric
49 g_helixorient g_principal g_dipoles g_disre g_dist
50 g_dyndom g_enemat g_energy g_lie g_filter g_gyrate
51 g_h2order g_hbond g_helix g_mindist g_msd g_morph g_nmeig
52 g_nmens g_order g_kinetics g_polystat g_potential g_rama g_rdf g_rms
53 g_rmsf g_rotacf g_saltbr g_sas g_sgangle g_sham g_sorient
54 g_spol g_spatial g_tcaf g_traj g_tune_pme g_vanhove
55 g_velacc g_clustsize g_mdmat g_wham g_sigeps g_bar
56 g_pme_error g_rmsdist g_rotmat g_options
57 g_dos g_hydorder g_densorder
60 set(GMX_TOOLS_PROGRAMS_NOT_FOR_INSTALLATION
61 # names of any executables that should be built but not installed can go here
65 foreach(TOOL ${GMX_TOOLS_PROGRAMS} ${GMX_TOOLS_PROGRAMS_NOT_FOR_INSTALLATION})
66 add_executable(${TOOL} ${TOOL}.c)
67 target_link_libraries(${TOOL} gmxana)
68 set_target_properties(${TOOL} PROPERTIES OUTPUT_NAME "${TOOL}${GMX_BINARY_SUFFIX}")
69 endforeach(TOOL ${GMX_TOOLS_PROGRAMS})
72 install(TARGETS gmxana DESTINATION ${LIB_INSTALL_DIR} COMPONENT runtime)
73 install(TARGETS ${GMX_TOOLS_PROGRAMS}
74 DESTINATION ${BIN_INSTALL_DIR}
77 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/libgmxana.pc.cmakein ${CMAKE_CURRENT_BINARY_DIR}/libgmxana.pc @ONLY)
78 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libgmxana.pc
79 DESTINATION ${LIB_INSTALL_DIR}/pkgconfig
80 RENAME "libgmxana${GMX_LIBS_SUFFIX}.pc"
81 COMPONENT development)