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
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
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
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
b7dafbd2e6
Use PROJECT_VERSION over APP4TRIQS_VERSION
2019-10-28 18:23:15 -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
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
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
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