3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-23 04:43:42 +01:00
Commit Graph

50 Commits

Author SHA1 Message Date
Nils Wentzell
4525076ed6 Merge remote-tracking branch 'app4triqs-remote/unstable' into unstable 2020-10-09 09:28:38 -04:00
Nils Wentzell
d76a28c80a [cmake] Install app4triqsvars.sh into subdirectory of share only for non-system install prefix 2020-09-23 12:11:12 -04:00
Nils Wentzell
5cf590e440 [cmake] Set @PROJECT_NAME@_MODULE_DIR in config.cmake file when PythonSupport enabled 2020-09-21 09:37:31 -04:00
Nils Wentzell
de8b2bd95e Merge remote-tracking branch 'app4triqs-remote/3.0.x' into unstable 2020-08-08 16:37:03 -04:00
Nils Wentzell
182550a831 [cmake] Make sure imported targets are always global, some copyright header adjustments 2020-08-07 10:53:16 -04:00
Nils Wentzell
43720b8f8f [cmake] Use find_package over find_dependency in config.cmake.in to improve cmake version compatibility 2020-08-03 15:39:20 -04:00
Nils Wentzell
5a9fc1118b [cmake] In extract_flags.cmake, protect extraction of -L/usr/lib and fix filtering -I/usr/include 2020-07-14 18:29:39 -04:00
Nils Wentzell
e2f4e9988e [cmake] Extend extract_flags.cmake to treat compiler-specific generator expressions properly 2020-07-14 18:29:12 -04:00
Nils Wentzell
c04128fa0d [cmake] Protect against flags -I/usr/include in extract_flags.cmake 2020-07-08 11:25:57 -04:00
Nils Wentzell
15e4c6d635 [cmake] Provide information on INSTALL_PREFIX in config.cmake files 2020-06-24 10:13:32 -04:00
Alexander Hampel
11d394fd5b synchronize dfttools with app4triqs structure
* moved the plovasp C++ code to c++/triqs_dft_tools/converters/vasp
* added global header triqs_dft_tools/triqs_dft_tools.hpp
* python dir based on single cmakelist file
* registered C++ tests for plovasp
* corrected imports for py3 tests for plovasp
* corrected block order in sigma_from_file and srvo3_Gloc
* exchanged ref files for sigma_from_file, srvo3_Gloc, SrVO3.ref.h5
* moved vasp converter bash scripts from dir shells to bin dir
2020-06-10 17:45:53 +02:00
Nils Wentzell
fbe3f2fa0a [cmake] Prefer the use of PROJECT_NAME in most CMakeLists.txt files 2020-05-28 11:20:01 -04:00
Nils Wentzell
610f4a2430 [cmake] Be sure to set cache variables in app4triqs-config.cmake 2020-05-28 09:06:46 -04:00
Nils Wentzell
aea8d18739 [cmake] In extract_flags allow extraction of BUILD_INTERFACE flags 2020-05-15 14:43:08 -04:00
Nils Wentzell
64facf1c3b [cmake] Minor formatting changes 2020-05-08 10:00:14 -04:00
Nils Wentzell
a631b46d14 [cmake] Documentation build no longer requires triqs to be build with doc 2020-05-07 17:50:56 -04:00
Nils Wentzell
be63b6ce24 [cmake] Set global property APP4TRIQS_FOUND to TRUE in app4triqs-config.cmake 2020-05-07 17:36:53 -04:00
Nils Wentzell
c57c6d734a [cmake] Adjust CMAKE_PREFIX_PATH in module file template 2020-05-07 17:36:53 -04:00
Philipp Dumitrescu
055e7519ba add PythonSupport; change Doc build control flow
* change in Build_Documentation control flow
* don’t Build_Documentation of deps if EXCLUDE_FROM_ALL
* export new APP4TRIQS_WITH_PYTHON_SUPPORT variable in config.cmake
2020-05-07 17:35:43 -04:00
Nils Wentzell
2fca5cde85 [cmake] Add copyright headers for share/cmake/extract_flags.cmake and deps/external_dependency.cmake 2020-04-29 15:57:00 -04:00
Nils Wentzell
0ad5d09fa8 [cmake] Minor fix in extract_flags.cmake file 2020-04-29 15:31:54 -04:00
Nils Wentzell
795ab5c671 [cmake] Add useful comments for dependency targets to config.cmake.in file 2020-04-29 10:23:37 -04:00
Nils Wentzell
764cdf35eb [cmake] In environment vars file add install prefix to CMAKE_PREFIX_PATH without suffix 2020-04-29 10:22:48 -04:00
Nils Wentzell
ed5812988f [cmake] Improve cmake status messages if we are a subproject 2020-04-22 15:05:37 -04:00
Nils Wentzell
ed1e683b69 Port py files to python3 2020-04-03 16:21:07 -04:00
Nils Wentzell
bef6368d89 Explicitly use python2 in replace_and_rename script 2019-12-16 10:59:04 -05:00
Nils Wentzell
64bbc3ce48 Use python instead of bash for the replace and rename operation 2019-10-31 18:19:01 -04:00
Nils Wentzell
b7dafbd2e6 Use PROJECT_VERSION over APP4TRIQS_VERSION 2019-10-28 18:23:15 -04:00
Philipp D
c03634fd2f bug fix for Darwin replace_and_rename.sh 2019-10-24 14:34:27 -04:00
Nils Wentzell
09c40e741a [cmake] Make regex in extract_flags.cmake more generic 2019-10-09 16:24:13 -04:00
Nils Wentzell
e4063bf4d0 [cmake] Prioritize -isystem over -I in extract_flags macro, Minor fix for empty list of inc_dirs 2019-09-26 09:49:34 -04:00
Nils Wentzell
9f5aa8578c [cmake] Provide extract_flags macro in share/cmake directory, simplify creation of docs_cpp2rst target 2019-09-24 15:17:47 -04:00
Nils Wentzell
a69a449a43 Move setup files into separate bash scripts and adjust README
* Treat Linux and Darwin differently
2019-09-05 16:30:29 -04:00
Nils Wentzell
a2767f16c8 [cmake] Exported targets should live in project namespace 2019-08-06 11:32:06 -04:00
Nils Wentzell
8d906ed6cc [cmake] Use PROJECT_GIT_HASH instead to store git hash and adjust dependent files accordingly 2019-07-16 11:54:32 -04:00
Nils Wentzell
b0bb95d61e [cmake] Use PROJECT_VERSION as defined through project(..) over APP4TRIQS_VERSION 2019-06-26 11:35:20 -04:00
Nils Wentzell
c387828bd2 [cmake] Important path/variable fixes in cmake-generated files 2019-04-26 10:24:46 -04:00
Nils Wentzell
57c5c8a892 [cmake] Remove remainders of separate cpp2py install (now included with triqs) 2019-04-16 11:17:17 -04:00
Nils Wentzell
7f29a3f624 Additional docs and cleaning in XXX-config.cmake.in file 2019-04-15 16:45:21 -04:00
Nils Wentzell
095409d879 Major cleaning, Synchronize project structure with qmc codes 2019-04-12 16:36:03 -04:00
Nils Wentzell
0335e53adf Adjust cmake-related install dirs to more standard directories 2018-11-28 13:02:26 -05:00
Nils Wentzell
837c886e60 [cmake] Minor fix in Findlibasan_rt.cmake 2018-11-26 18:33:03 -05:00
Nils Wentzell
002642f97c Change standard install path of cmake files 2018-11-21 16:59:19 -05:00
Nils Wentzell
759bb9da1d Fix the sanitizers for MacOs 2018-11-21 16:52:55 -05:00
Nils Wentzell
46cbea69d9 [cmake] Enable CMP0074, adjust if(obj) statements 2018-11-20 17:53:10 -05:00
Nils Wentzell
9f03870f26 [cmake] Use CPLUS_INCLUDE_PATH over CPATH to favor -isystem includes 2018-10-11 17:17:12 -04:00
Nils Wentzell
6aa4eee0f4 [cmake] Fixing usage of ubsan with Minimal RT, some cleaning
- Use UBsan Minimal RT if found
- Prioritize gcc-7 directories over older
- Set UBSan options for c++/python tests
2018-04-24 23:34:14 +02:00
Nils Wentzell
f2d7e84bdd Major update and Cleaning
-consistent indends in all cmake files
-add static analyzer checks with both cppcheck and clang-tidy
-add dynamic analyzer checks with Address Sanitizer and option ASAN
-add dynamic analyzer checks with Undefined Behavior Sanitizer and option UBSAN
-Further Cleaning and Comments
2018-03-25 19:21:18 +02:00
Nils Wentzell
6bf4afd316 Adding cmake config files to install targets, Major cleaning 2018-03-23 16:59:38 +01:00
Nils Wentzell
2b76c51f12 First draft of the triqs application skeleton 2018-03-22 18:16:10 +01:00