add_executable(MAXLIK ${MAXLIK_SRCS} )
set_target_properties(MAXLIK PROPERTIES OUTPUT_NAME ${MAXLIK_BIN})
+#=========================================
+# Install maxlik binary (used by "make install")
+#=========================================
+install(TARGETS MAXLIK RUNTIME DESTINATION unrespack/bin)
target_link_libraries( UNRES_BIN-MD-M xdrf )
#=========================================
+# INSTALL
+#=========================================
+
+install(TARGETS UNRES_BIN-MD-M RUNTIME DESTINATION unrespack/bin)
+
+#=========================================
# TESTS
#=========================================
target_link_libraries( UNRES_BIN-MD xdrf )
#=========================================
+# INSTALL
+#=========================================
+
+install(TARGETS UNRES_BIN-MD RUNTIME DESTINATION unrespack/bin)
+
+#=========================================
# TESTS
#=========================================
#set_property(TARGET ${UNRES_BIN} PROPERTY RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin/unres/MD )
#=========================================
+# INSTALL
+#=========================================
+
+install(TARGETS UNRES_BIN-MIN RUNTIME DESTINATION unrespack/bin)
+
+#=========================================
# TESTS
#=========================================
#=========================================
-# Build the binaries
+# Build the binaries (used by "make")
#=========================================
add_executable(xdrf2pdb ${UNRES_XDRF_XDRF2PDB_SRC} )
target_link_libraries( xdrf2pdb xdrf )
#=========================================
-# TESTS
+# INSTALL (used by "make install")
+#=========================================
+install(TARGETS xdrf2pdb RUNTIME DESTINATION unrespack/bin)
+install(TARGETS xdrf2pdb-m RUNTIME DESTINATION unrespack/bin)
+install(TARGETS xdrf2x RUNTIME DESTINATION unrespack/bin)
+install(TARGETS xdrf2ang RUNTIME DESTINATION unrespack/bin)
+
+#=========================================
+# TESTS (used by "ctest")
#=========================================