6 xdlghi.c fgrid.c xdlgitem.c
7 popup.c pulldown.c xdlg.c
8 manager.c buttons.c nmol.c
9 nleg.c dialogs.c logo.c
12 include_directories(${X11_INCLUDE_DIR})
13 include_directories(${CMAKE_CURRENT_SOURCE_DIR})
15 # List of programs with single corresponding *.c source file,
16 # used to create build rules automatically.
19 ngmx xrama highway gmxlogo dlg scrollw showcol)
21 foreach(PROG ${NGMX_PROGRAMS})
22 add_executable(${PROG} ${PROG}.c ${NGMX_COMMON_SOURCE})
23 target_link_libraries(${PROG} gmx ${GMX_EXTRA_LIBRARIES} ${X11_LIBRARIES})
27 install(TARGETS ${NGMX_PROGRAMS}
28 RUNTIME DESTINATION ${BIN_INSTALL_DIR})