Nils Wentzell
909a772205
[cmake] Disable setting c++ standard using target_compile_features
2020-05-28 11:50:35 -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
35f0e35b0b
[cmake] Set target property POSITION_INDEPENDENT_CODE=ON for library
2020-05-13 15:41:24 -04:00
Nils Wentzell
daaf502102
[cmake] Provide target alias app4triqs::app4triqs_c -> app4triqs_c for use as subproject
2020-05-07 17:36:53 -04:00
Nils Wentzell
0394f7fae2
[cmake] ASAN / UBSAN should note be exported
2020-05-01 14:28:19 -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
3f71381f1b
[cmake] Be sure fill INTERFACE_INCLUDE_DIRECTORIES for installed library targets
2020-04-24 17:50:26 -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
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
09b0a68b26
[cmake] Fix cppcheck invocation, add --force to cppcheck options
2019-11-21 11:54:10 -05:00
Nils Wentzell
919639bd27
[cmake] Find libasan and libubsan only if the targets are not already defined by the parent project
2019-11-18 14:04:29 -05:00
Nils Wentzell
cc81dffa4a
[cmake] Minor corrections
2019-09-18 14:23:14 -04:00
Nils Wentzell
df33cb6ffd
[cmake] Clean c++/app4triqs/CMakeLists.txt after recent additions to triqs Findsanitizer.cmake
2019-09-16 14:39:27 -04:00
Nils Wentzell
30f32f8dec
[cmake] Update cppcheck language standard
2019-09-13 17:51:16 -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
d02eff9ce3
[cmake] Consistently use PROJECT_SOURCE_DIR over CMAKE_SOURCE_DIR
2019-06-26 11:35:52 -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
095409d879
Major cleaning, Synchronize project structure with qmc codes
2019-04-12 16:36:03 -04:00
Nils Wentzell
aef818bc28
add float-cast-overflow and float-divide-by-zero to ubsan checks
2018-11-26 12:04:35 -05:00
Nils Wentzell
759bb9da1d
Fix the sanitizers for MacOs
2018-11-21 16:52:55 -05:00
Nils Wentzell
af8f3ad824
Minor fixes and adjustments
2018-08-30 18:07:35 -04:00
Nils Wentzell
d8f6932888
Make static analyzers optional
2018-04-06 14:36:07 +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
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