You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
457 B
17 lines
457 B
cmake_minimum_required (VERSION 2.6)
|
|
project (PDBMAT Fortran)
|
|
|
|
include(GNUInstallDirs)
|
|
|
|
option (EXAMPLES "Instal additional example files" OFF)
|
|
|
|
add_executable(diagstd diagstd.f)
|
|
add_executable(pdbmat pdbmat.f)
|
|
|
|
install (TARGETS diagstd pdbmat DESTINATION bin)
|
|
install (FILES diagstd.README pdbmat.README DESTINATION ${CMAKE_INSTALL_DOCDIR})
|
|
|
|
if ( EXAMPLES )
|
|
install (DIRECTORY ../Try_ENM2011 DESTINATION ${CMAKE_INSTALL_DOCDIR}/examples)
|
|
endif (EXAMPLES)
|