mirror of
https://github.com/triqs/dft_tools
synced 2024-11-07 06:33:48 +01:00
Check version and add README
modified: CMakeLists.txt new file: README.txt
This commit is contained in:
parent
64e51cd7d0
commit
be6977a3ed
@ -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
|
# Append triqs installed files to the cmake load path
|
||||||
list(APPEND CMAKE_MODULE_PATH ${TRIQS_PATH}/share/triqs/cmake)
|
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")
|
MESSAGE(FATAL_ERROR "Wien2TRIQS require Python support in TRIQS")
|
||||||
endif()
|
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
|
# We want to be installed in the TRIQS tree
|
||||||
set(CMAKE_INSTALL_PREFIX ${TRIQS_PATH})
|
set(CMAKE_INSTALL_PREFIX ${TRIQS_PATH})
|
||||||
|
|
||||||
|
29
README.txt
Normal file
29
README.txt
Normal 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.
|
Loading…
Reference in New Issue
Block a user