Merge release-4-6 into master
[alexxy/gromacs.git] / share / template / CMakeLists.txt
1 add_executable(template template.cpp)
2 target_link_libraries(template libgromacs)
3 install(FILES CMakeLists.txt.template
4         DESTINATION ${DATA_INSTALL_DIR}/template
5         RENAME CMakeLists.txt
6         COMPONENT development)
7
8 install(FILES README template.cpp Makefile.pkg
9         DESTINATION ${DATA_INSTALL_DIR}/template
10         COMPONENT development)
11
12 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cmake/FindGROMACS.cmakein
13         ${CMAKE_CURRENT_BINARY_DIR}/cmake/FindGROMACS.cmake @ONLY)
14
15 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/cmake/FindGROMACS.cmake
16         DESTINATION ${DATA_INSTALL_DIR}/template/cmake
17         COMPONENT development)
18