Commit Graph

163 Commits

Author SHA1 Message Date
Matthias Hochsteger
421c1ecb0e Pyodide build fixes 2024-03-01 20:39:24 +01:00
Matthias Hochsteger
a261b71ad0 Link Ws2_32.lib on windows 2023-10-09 14:04:03 +02:00
Matthias Hochsteger
bd5751b26b Fix pip build on Windows 2023-10-03 19:22:12 +02:00
Matthias Hochsteger
f695cbbace Get rid of distutils 2023-10-03 17:42:43 +02:00
Matthias Hochsteger
8efc3a2fe2 Fix also with emscripten 2023-09-16 22:39:22 +02:00
Matthias Hochsteger
891e077b35 Fix static OCC linking 2023-09-16 22:38:20 +02:00
Matthias Hochsteger
d069f57422 Pyodide fixes 2023-09-16 19:25:43 +02:00
Matthias Hochsteger
f1ec19b35b Interface target for OpenCascade libraries 2023-09-14 13:26:42 +02:00
Matthias Hochsteger
291a5e4aa6 Emscripten support 2023-09-14 11:19:39 +02:00
Matthias Hochsteger
8955f572a1 Update OpenCascade 2023-09-14 11:19:35 +02:00
Matthias Hochsteger
fe37f7d0b2 Emscripten fixes 2023-09-05 17:13:29 +02:00
Hochsteger, Matthias
0043eee0e0 Merge branch 'find_python' into 'master'
find_package(PythonInterp... deprecated, change to python with comp

See merge request ngsolve/netgen!595
2023-08-30 21:57:52 +02:00
Matthias Hochsteger
c8888086ae CMake 3.16 compatibility 2023-08-30 21:03:04 +02:00
Matthias Hochsteger
80098c1e93 Set parameters to FindPython3 depending on CMake version 2023-08-30 20:25:11 +02:00
Matthias Hochsteger
24cbbe588e Require only CMake 3.16 2023-08-30 17:59:24 +02:00
Matthias Hochsteger
40546340a4 Revert "add Development.Embed"
This reverts commit af345043af.
2023-08-30 17:12:07 +02:00
Matthias Hochsteger
af345043af add Development.Embed 2023-08-30 17:00:15 +02:00
Matthias Hochsteger
4f83d8b1b6 Find python3 Development.Module, require CMake 3.18 2023-08-30 16:11:14 +02:00
Christopher Lackner
5c87a797ff some more missing PYTHON -> Python3 renamings 2023-08-29 11:24:01 +02:00
Christopher Lackner
f873de3e3b find_package(PythonInterp... deprecated, change to python with comp 2023-08-29 10:52:22 +02:00
Hochsteger, Matthias
90729810d4 Archive with nondefault constructor 2023-08-28 10:02:22 +02:00
Christopher Lackner
a97ff0ea3d remove spdlog and archive logging 2023-08-21 19:14:39 +02:00
Hochsteger, Matthias
11da083507 Emscripten support 2023-07-28 13:01:41 +02:00
Hochsteger, Matthias
35776ca894 Set USE_OCC to ON by default 2023-07-25 23:14:58 +02:00
Matthias Hochsteger
587b0ab87e Set cmake policy depending on cmake version 2023-07-25 14:41:01 +02:00
Matthias Hochsteger
9364274a6b Install zlib and tcl/tk correctly for custom NG_INSTALL_DIR_* settings 2023-06-23 12:50:26 +02:00
Matthias Hochsteger
6992a63cf8 Don't search for PythonLibs when building pip/conda package
Since python is linked statically there are no libraries
2023-05-11 18:39:49 +02:00
Matthias Hochsteger
d64df5b4b0 include pybind11 subdir in cmake 2022-11-16 10:27:14 +01:00
Christopher Lackner
f87aa9e7d0 don't use system wide pybind11 per default 2022-11-14 11:27:26 +01:00
Matthias Hochsteger
81d9b0637b Merge remote-tracking branch 'origin/master' into StefanBruens-optionally_use_system_pybind11 2022-09-13 15:56:49 +02:00
Matthias Hochsteger
0e45a07c6a cmake - private linking of zlib 2022-07-11 11:10:54 +02:00
Stefan Brüns
95b4b49fc7 Optionally prefer system wide pybind11
Linux distributions typically prefer system provided libraries, so
optionally use it when found.

(This also allows to use the github provided tarball, which omits the
pybind11 submodule).

Fix the PYBIND_INCLUDE_DIR usage:
- remove misleading find_path invocation, which may point to the system
  wide pybind11
- use pybind11_INCLUDE_DIR	which is provided by both find_package(pybind11)
  and bundled pybind11/CMakeLists.txt
- pybind11_INCLUDE_DIR is used by pybind11_add_module, use it also for
  ngcore (core/register_archive.hpp)
2022-07-06 17:28:07 +02:00
Matthias Hochsteger
00d9583af3 fix non-gui build on Windows 2022-06-23 04:04:38 -07:00
Matthias Hochsteger
03347e8e33 fix tcl/tk build flags 2022-05-05 18:08:29 +02:00
Matthias Hochsteger
66078cb285 private tcl include dir 2022-05-05 17:01:12 +02:00
Matthias Hochsteger
b694b4667a rework build system, separate gui and non-gui code
move fieldlines code to meshing dir

move visualization function pointers to meshing directory

DLL_HEADER -> NGGUI_API in visualization lib

move soldata.hpp to meshing

update occ, no freetype necessary anymore
2022-05-05 14:39:31 +02:00
mhochsteger@cerbsim.com
dbbe91018d Don't pack bundle files into pip package on MacOS 2022-02-02 17:32:50 +01:00
mhochsteger@cerbsim.com
814cc59c08 work around issue with LIST_SEPARATOR on MacosM1
just pass one TK_INCLUDE_PATH and find the others when necessary
2021-12-02 14:32:30 +01:00
mhochsteger@cerbsim.com
0da6aeb94f Link Ws2_32.lib on Windows when building with OCC 2021-11-05 19:55:25 +01:00
mhochsteger@cerbsim.com
1cf9e3ff02 version handling, generate python configuration file 2021-10-28 13:57:24 +02:00
mhochsteger@cerbsim.com
d9e8b815f5 pip installer 2021-10-27 16:51:41 +02:00
mhochsteger@cerbsim.com
310a316127 fix OCC paths in NetgenConfig.cmake 2021-09-08 11:53:00 +02:00
mhochsteger@cerbsim.com
0b616dd90a list occ libs expliclitly 2021-09-07 15:02:32 +02:00
Matthias Hochsteger
9ddb034e55 link all occ libs 2021-09-06 13:26:02 +02:00
Matthias Hochsteger
467d0e5663 more restrictive occ linking 2021-09-03 13:12:23 +02:00
Matthias Hochsteger
40daa0327c Update OCC 2021-09-02 12:52:34 +00:00
Matthias Hochsteger
bfa88c88eb No write check on install dir with USE_SUPERBUILD=OFF 2021-03-02 09:29:09 +01:00
Matthias Hochsteger
65afc44dcc Handle USE_NATIVE_ARCH=ON correctly on Apple M1 2020-12-17 10:26:29 +01:00
Matthias Hochsteger
916eb09f1e Merge remote-tracking branch 'origin/master' into memory_tracing 2020-11-24 15:31:00 +01:00
mhochsteger
d7a1dda042 cmake - add version info to netgen.exe on Windows 2020-11-24 11:50:24 +01:00