3
0
mirror of https://github.com/triqs/dft_tools synced 2024-11-18 20:12:53 +01:00
Commit Graph

52 Commits

Author SHA1 Message Date
Nils Wentzell
853ebf2d6a [cmake] No longer add '-Og' for debug builds 2020-06-18 13:58:55 -04:00
Nils Wentzell
5156e45b5b [cmake] Make sure to use namespaced targets in c++ test dir 2020-06-10 17:25:03 -04:00
Nils Wentzell
b6cedfb0df [cmake] Provide a namespaced alias to the PROJECT_NAME_warnings target 2020-06-10 16:46:16 -04: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
5982c49615 [cmake] Use PROJECT_SOURCE_DIR over CMAKE_SOURCE_DIR 2020-05-15 10:50:13 -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
422ac1c0ad [cmake] Make sure to require proper triqs verison in deb pkg 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
8206a43651 [cmake] Make sure testing options propagate to subprojects without EXCLUDE_FROM_ALL 2020-04-29 17:56:17 -04:00
Nils Wentzell
6d4289e024 [cmake] rename project_warnings to project specific target, to not export it 2020-04-29 15:31:36 -04:00
Nils Wentzell
136a39dc42 [cmake] Bump Version number of app4triqs and triqs to 3.0.0 2020-04-29 15:30:54 -04:00
Nils Wentzell
38ab493368 [cmake] Cpp2py should be a build-only dependency in deps dir 2020-04-29 15:30:19 -04:00
Nils Wentzell
984a89e569 [cmake] Bump version requirement to 3.3.2, set CMP0057 2020-04-28 16:34:00 -04:00
Nils Wentzell
c99ee1820e [cmake] Handle dependencies with external_dependency(...) function + doc 2020-04-24 17:52:27 -04:00
Nils Wentzell
1ff66fd1f3 [cmake] Minor cleanings 2020-04-24 17:51:19 -04:00
Nils Wentzell
4120eb5f99 [cmake] Add BUILD_SHARED_LIBS option, continue to build static by default 2020-04-22 15:06:15 -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
b9d934554c [cmake] Manage dependencies in a seperate deps subdirectory 2020-04-22 15:04:30 -04:00
Nils Wentzell
a167933b34 [cmake] Do not warn about unkown attributes with gcc, add warnings to AppleClang 2020-01-17 10:21:52 -05:00
Nils Wentzell
7b8b71e984 [cmake] Fix various issues occuring when using a skeleton based app as a subproject 2019-12-02 17:53:17 -05:00
Nils Wentzell
5768a7f748 [cmake] Only use Wshadow=local for gcc 2019-10-10 15:59:39 -04:00
Nils Wentzell
cc81dffa4a [cmake] Minor corrections 2019-09-18 14:23:14 -04:00
Nils Wentzell
7ab1e6af22 Add C to Project Languages 2019-09-06 15:27:55 -04:00
Nils Wentzell
5cb8bbf042 [cmake] Add -Wno-gcc-compat to project_warnings target 2019-09-04 16:17:51 -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
Philipp D
c3114e313a [cmake] streamline top-level cmake
* enforces major.minor version check against triqs
* adds header boilerplate
* minor cleaning
2019-06-26 13:56:56 -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
24f49da39c [cmake] Do not enable compiler warnings globally but instead through an interface target 2019-06-26 11:06:12 -04:00
Nils Wentzell
c492078f77 [doc] Major cleaning of doc targets and CMakeLists.txt 2019-04-26 12:40:44 -04:00
Nils Wentzell
87a67e8d06 [cmake] Add -Wextra compiler warnings globally 2019-04-22 11:24:53 -04:00
Nils Wentzell
d64b27495e Bump cpp2py version requirement 2019-04-16 16:56:44 -04:00
Nils Wentzell
9e606ab9ca [cmake] Bump Version number and triqs requirement to 2.2(dev) 2019-04-16 16:32:44 -04:00
Nils Wentzell
66164ed8a4 Bump cmake version requirement 2019-04-15 16:45:59 -04:00
Nils Wentzell
095409d879 Major cleaning, Synchronize project structure with qmc codes 2019-04-12 16:36:03 -04:00
Nils Wentzell
da10fdeb55 [cmake] Define version numbers explicitly 2019-03-05 15:19:57 -05:00
Nils Wentzell
9d1a19b26f [deb] Remove explicit cpp2py package dependency (deduced from triqs) 2019-01-22 10:21:19 -05:00
Nils Wentzell
9e442be0e0 Always export compile commands to json file 2018-11-26 12:03:54 -05:00
Nils Wentzell
46cbea69d9 [cmake] Enable CMP0074, adjust if(obj) statements 2018-11-20 17:53:10 -05:00
Nils Wentzell
24d619b8be [cmake] Add Debug flags, Update Triqs version, optional tests 2018-10-11 17:17:53 -04:00
Nils Wentzell
af8f3ad824 Minor fixes and adjustments 2018-08-30 18:07:35 -04:00
Nils Wentzell
04d7aef339 [deb] Adjust dependency generation 2018-06-03 13:45:57 -04:00
Nils Wentzell
35a48aad80 [cmake] Adjust fallback version 2018-06-01 16:51:49 +02:00
Nils Wentzell
2cd1a9384f [cmake] app4triqs version detection via git, some cleaning in conf.py.in 2018-06-01 09:38:03 -04:00
Nils Wentzell
7f0e6283f0 grep app4triqs version from latest annotated git tag 2018-05-27 02:06:48 +02:00
Dylan Simon
0fb5342c6b [cmake] deb pkg works with libgcc1 1:6
The default on xenial
2018-05-21 16:04:25 -04:00
Dylan Simon
51345aff2d [cmake] Add BUILD_DEBIAN_PACKAGE option and rules 2018-05-14 15:26:28 -04:00
Nils Wentzell
ee1e563c82 Lowering cmake version requirement, removing fPIC global flag 2018-04-06 14:36:32 +02:00
Nils Wentzell
f65e5bfbad Further cleanining, switching to static library
-Disable LINTing in test macros with comment // NOLINT
-Enable static analyzers for c++ tests
-Switch app4triqs_c to static library
 Dynamic was pickung up previously installed libapp4triqs_c.so in tests
 Also there is no need to be dynamic for applications
-Fix previous change in HeaderFilterRegex:
 'app4triqs/c++' was blocking all headers for clang-tidy checks.
 'app4triqs' works well, but we cannot install any other headers into
 app4triqs folder structure.
 We thus had to create INSTALL_DIR in travis.yml
2018-03-26 00:31:39 +02:00
Nils Wentzell
e3c4366d54 Enable all compiler warnings, Include Triqs headers as SYSTEM, fix linker for sanitizers 2018-03-25 20:15:49 +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