Updated README.md
[alexxy/gromacs-pyapi.git] / CMakeLists.txt
index 09e340d9a415ad58733a558ee3571cc60ad71030..92784e7b121ff7ee4d4d40b6287ae12a7cb2c841 100644 (file)
@@ -1,10 +1,31 @@
+#
+# This file is part of the GROMACS-PyAPI package.
+#
+# Copyright (c) 2014,2015,
+# by Maks Koltsov <maks@omrb.pnpi.spb.ru> and
+# by Alexey Shvetsov <alexxy@omrb.pnpi.spb.ru>
+#
+# GROMACS-PyAPI is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public License
+# as published by the Free Software Foundation; either version 2.1
+# of the License, or (at your option) any later version.
+#
+# GROMACS-PyAPI is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with GROMACS; if not, see
+# http://www.gnu.org/licenses, or write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA.
+
 cmake_minimum_required(VERSION 2.8.11)
 
 list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
 
 project(GROMACS-PyAPI)
 
-
 set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
 set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
@@ -14,4 +35,9 @@ find_package(GROMACS 2016)
 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
 include_directories(${CMAKE_SOURCE_DIR}/stub_headers)
 
+file(GLOB GROMACS_PYAPI_MISC README COPYING)
+install(FILES ${GROMACS_PYAPI_MISC}
+       DESTINATION ${CMAKE_INSTALL_PREFIX}/share/gromacs-pyapi)
+
 add_subdirectory(src)
+add_subdirectory(examples)