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
6aff3f1a39
[cmake] Default to -DBuild_Deps=IfNotFound, adjust install instructions
2020-06-24 10:13:32 -04:00
Nils Wentzell
dd33a61cc6
[cmake] When searching dependency sources, check both current dir and CMAKE_SOURCE_DIR/deps
2020-06-24 08:57:44 -04:00
Nils Wentzell
278dc7ef44
[cmake] In external_project, print dependency location if found in system
2020-05-28 10:56:57 -04:00
Nils Wentzell
89d6b2d392
[cmake] Fix Problem with VERSION requirement in external_dependency function
2020-05-28 09:06:46 -04:00
Dylan Simon
d3fc0d26bf
[cmake] move gtest last (so cpp2py python wins)
2020-05-19 17:11:16 -04:00
Nils Wentzell
5982c49615
[cmake] Use PROJECT_SOURCE_DIR over CMAKE_SOURCE_DIR
2020-05-15 10:50:13 -04:00
Nils Wentzell
9b76ce9c4c
[cmake] Cpp2py should be a BUILD_ALWAYS dependency
2020-05-13 15:42:02 -04:00
Nils Wentzell
64facf1c3b
[cmake] Minor formatting changes
2020-05-08 10:00:14 -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
d2114bd227
[cmake] Improve external_dependency command line output with end config notification
2020-05-01 14:42:21 -04:00
Nils Wentzell
0ebc5a3f73
[cmake] Add a warning if ASAN/UBSAN is used without Build_Deps=Always
2020-05-01 14:42:12 -04:00
Nils Wentzell
c06d4b79a5
[cmake] Small cleanings in messages printed by external_denendency function
2020-04-29 17:57:16 -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
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
760c1d2efe
[cmake] Change Cpp2Py dependency tag from py3 to master
2020-04-29 15:38:45 -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
effc981878
[cmake] In external_dependency function be sure to search deps also in INSTALL_PREFIX
2020-04-29 10:20:49 -04:00
Nils Wentzell
a4bfce94b2
[cmake] Improve error message for external_dependency function
2020-04-28 17:19:13 -04:00
Nils Wentzell
a14bf3975b
[cmake] Add option BUILD_ALWAYS to function external_dependency for force build
2020-04-28 17:18:25 -04:00
Nils Wentzell
d9f8e1e0bf
[cmake] Use GIT_TAG instead of TAG for external_dependency function
2020-04-28 16:25:28 -04:00
Nils Wentzell
cce7b5cd2f
[cmake] Change Build_Deps option to take either Never/Always/IfNotFound, cleaning
...
- Use Global Properties to check if a package has been found.
This information should not go in the cmake cache
2020-04-28 16:23:30 -04:00
Nils Wentzell
8c407831c8
[cmake] Improve command line output for dependency configuration
2020-04-28 10:51:06 -04:00
Nils Wentzell
a619870f92
Minor refactoring in external_dependency.cmake
2020-04-27 15:50:35 -04:00
Nils Wentzell
c99ee1820e
[cmake] Handle dependencies with external_dependency(...) function + doc
2020-04-24 17:52:27 -04:00
Nils Wentzell
1959a60d15
[cmake] Make sure deps/download.sh clones only if dirs do not exist yet
2020-04-22 15:11:37 -04:00
Nils Wentzell
ebe9add3c7
[cmake] Add gitignore file to deps directory
2020-04-22 15:07:33 -04:00
Nils Wentzell
b9d934554c
[cmake] Manage dependencies in a seperate deps subdirectory
2020-04-22 15:04:30 -04:00