3
0
mirror of https://github.com/triqs/dft_tools synced 2024-10-12 11:01:36 +02:00

Check version and add README

modified:   CMakeLists.txt
  new file:   README.txt
This commit is contained in:
Michel Ferrero 2013-09-04 16:54:12 +02:00
parent 64e51cd7d0
commit be6977a3ed
2 changed files with 38 additions and 0 deletions

View File

@ -1,3 +1,7 @@
# Version number of the application
set (DFT_TOOLS_VERSION "1.0")
set (DFT_TOOLS_RELEASE "1.0.0")
# Append triqs installed files to the cmake load path
list(APPEND CMAKE_MODULE_PATH ${TRIQS_PATH}/share/triqs/cmake)
@ -14,6 +18,11 @@ if (NOT ${TRIQS_WITH_PYTHON_SUPPORT})
MESSAGE(FATAL_ERROR "Wien2TRIQS require Python support in TRIQS")
endif()
# Check that versions are compatible
if(NOT DFT_TOOLS_VERSION EQUAL TRIQS_VERSION)
message(FATAL_ERROR "The application version is not compatible with the TRIQS library (TRIQS library version: ${TRIQS_VERSION} while this application version: ${DFT_TOOLS_VERSION})")
endif()
# We want to be installed in the TRIQS tree
set(CMAKE_INSTALL_PREFIX ${TRIQS_PATH})

29
README.txt Normal file
View File

@ -0,0 +1,29 @@
Wien2TRIQS interface to Wien2k
Copyright (C) 2011-2013, M. Aichhorn, L. Pourovskii, V. Vildosola and C. Martins
1. Documentation
You will find the documentation of this application under
<http://ipht.cea.fr/triqs/dft_tools/>.
2. Installation
The installation steps are described in
<http://ipht.cea.fr/triqs/dft_tools/install.html>
3. Version
You can find the version and release number of the application on the top of
the CMakeLists.txt file in this directory.
4. License
This application is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version (see <http://www.gnu.org/licenses/>).
It 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 General Public License for more details.