3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-05 17:14:07 +00:00
Commit graph

19 commits

Author SHA1 Message Date
Rolf Eike Beer 7f8e2a9f75
clean up CMake code (#5182)
* CMake: simplify FindGMP.cmake

Remove printing of all the different variables, and let FPHSA output the library
name. Add an imported target, which bundles the library and the include
directories for easier usage.

* fix build: vector::c_ptr() now is vector::data()

* CMake: use Threads::Threads imported module

Otherwise the setting of THREADS_PREFER_PTHREAD_FLAG has no effect.

* CMake: remove needless policy setting

The minimum required version is CMake 3.4, where these policies are already set
to new because they were introduced earlier.

* CMake: remove needless variable expansion
2021-04-14 10:29:15 -07:00
Nikolaj Bjorner 53a01a07bd rename additional build options #2709
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-11-18 21:32:35 -08:00
Nikolaj Bjorner 110ca25e1b change to FindDotnet.cmake thanks to @yatli
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-06-12 11:06:27 -07:00
Charlie Barto 167f968fa8 Change from BINARY_DIR to PROJECT_BINARY_DIR 2019-05-15 11:25:40 -07:00
Nikolaj Bjorner 37d9e6d811 incrementally adding files from dotnet core pull request from @yatli
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-01-20 10:40:11 -08:00
Nikolaj Bjorner 038971c029
Revert "api: dotnet: switch to multi-targeting project and modern cmake-dotnet integration." 2019-01-16 10:21:56 -08:00
Yatao Li 43ee345f01 dotnet deps hack for test 2019-01-15 03:06:36 +09:00
Yatao Li 55f92f3658 dotnet: remove stale packages before pack; relay cmake config generator expression into msbuild property.. 2019-01-12 21:33:09 +08:00
Yatao Li 3767c311aa FindDotnet: generator expression IF is not available for older cmake versions 2019-01-12 19:35:08 +08:00
Yatao Li 53eaab4709 dotnet: update build scripts 2019-01-12 17:38:24 +08:00
Yatao Li ffd26e5a56 .net: remove net35 related build props; drop src/api/dotnet/core 2019-01-12 15:01:05 +08:00
Yatao Li b72cb96ee3 update dotnet cmake module 2018-12-29 16:43:08 +08:00
Yatao Li 20c128d3fa replace LIST FILTER with handrolled implementation to cancel cmake v3.6+ dependency 2018-09-12 01:28:42 +08:00
Yatao Li 969a922145 api: dotnet: install nuget package and register local repo; xplat native assembly detection 2018-09-10 13:19:48 +08:00
Yatao Li 90890e46a9 api: dotnet: FindDotnet.cmake now handles 'REQUIRED' option. 2018-09-10 09:34:28 +08:00
Yatao Li c77af6b75f api: dotnet: switch to multi-targeting project and modern cmake-dotnet
integration.
2018-09-10 02:49:22 +08:00
Nikolaj Bjorner b5614bc93e going Turbo
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-06-19 10:58:43 -07:00
Nikolaj Bjorner 9b6a99794b add default method for fresh fp value, try to address OsX build
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-06-19 10:02:31 -07:00
Dan Liew 4b517b96df [CMake] Move CMake files into their intended location so the
`contrib/cmake/bootstrap.py` script no longer needs to be executed.

The previous location of the CMake files was a compromise proposed
by @agurfinkel in #461. While this has served us well (allowing progress
to be made) over time limitations of this approach have appeared.

The main problem is that doing many git operations (e.g. pull, rebase)
means the CMake files don't get updated unless the user remembers to
run the script. This can lead to broken and confusing build system
behaviour.

This commit only does the file moving and necessary changes to
`.gitignore`. Other changes will be done in subsequent commits.
2017-06-12 11:59:00 +01:00