Commit Graph

101 Commits

Author SHA1 Message Date
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
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
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
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
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
luz paz
4033fac1b3 Fix various typos
Found via `codespell -q 3 -S ./external_dependencies/pybind11 -L alledges,allright,ane,anormal,ans,apoints,ba,boxs,cancle,childs,co-ordinate,co-ordinates,daty,enty,filld,hel,identifyable,ist,linz,lod,ned,nd,selt,statics,suround,thev,thist,thisy,timere,upto,wel`
2022-03-25 18:22:05 -04:00
mhochsteger@cerbsim.com
4f4a3f7c92 generate version.py with cmake 2022-02-04 18:01:46 +01:00
mhochsteger@cerbsim.com
3c60c27e41 dont pass CMAKE_OSX_ARCHITECTURES (handled by environment variable) 2022-02-02 17:18:55 +01:00
Matthias Hochsteger
4e755025d2 read CMAKE_OSX_ARCHITECTURES from environment variable 2021-12-15 18:10:36 +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
Matthias Hochsteger
16b88e8e67 OCC Mesher Cleanup 2021-11-28 15:14:41 +00:00
mhochsteger@cerbsim.com
dc4ba34657 special handling of CMAKE_OSX_ARCHITECTURES (may contain ';') 2021-11-08 16:38:47 +01:00
mhochsteger@cerbsim.com
aa7f246c2e fix cmake output handling 2021-11-08 15:52:52 +01:00
mhochsteger@cerbsim.com
0d4028ea7a cmake - strip version string 2021-11-08 11:02:12 +01:00
mhochsteger@cerbsim.com
d2f8910af2 Show more output during build
- show output in ci-builds only on failure
2021-11-04 14:44:23 +01:00
mhochsteger@cerbsim.com
6cd0d57c3d fix tcl/tk stub library names 2021-11-02 10:47:08 +01:00
mhochsteger@cerbsim.com
68502ad77c cmake - fix subproject logging settings 2021-11-02 10:40:10 +01:00
Matthias Hochsteger
ed80150dd7 hard-code path to (self-compiled) tcl/tk stub libs on macos 2021-10-29 20:17:03 +02:00
Matthias Hochsteger
df53ffe05b fix finding tcl/tk stub libs on MacOS 2021-10-29 15:50:34 +02: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
Matthias Hochsteger
40daa0327c Update OCC 2021-09-02 12:52:34 +00:00
Joachim Schoeberl
293b08d759 add opencascade module 2021-07-29 10:22:32 +02:00
Matthias Hochsteger
36d9ead3bc cmake - log output on failure in gitlab-ci 2021-06-04 16:03:54 +02:00
Christopher Lackner
a69cdc9000 mem tracing compile time option, simplify by MemoryTracer as member 2020-11-21 15:49:07 +01:00
Matthias Hochsteger
7a1344bfcb cmake variable NG_COMPILE_FLAGS to set additional compile options 2020-10-01 13:35:53 +02:00
Matthias Hochsteger
cb610b9b04 NETGEN_CHECK_RANGE -> NETGEN_USE_CHECK_RANGE in netgen_config.hpp (macro name already used) 2020-09-09 11:53:05 +02:00
Matthias Hochsteger
52b372718c generate netgen_config.hpp containing all cmake options 2020-09-09 11:33:06 +02:00
Matthias Hochsteger
fa1a5d11ee Fix version file generation 2020-07-25 08:41:17 +02:00
Matthias Hochsteger
68f5605866 Fix version parsing in conda build 2020-07-24 17:13:22 +02:00
Matthias Hochsteger
dcc0484be0 install netgen_version.hpp, set version in Archive 2020-07-23 16:25:06 +02:00
Christopher Lackner
d2cb67f681 fix cmake warning 2020-06-19 17:36:48 +02:00
Matthias Hochsteger
34a6777f49 add file generate_version_file.cmake 2020-05-18 17:54:09 +02:00
Matthias Hochsteger
267e8b33fb cmake - use git to generate version string 2020-05-18 15:55:40 +02:00
Matthias Hochsteger
a52ccd7ce5 Fix build with USE_NUMA=ON 2020-03-25 10:40:12 +01:00
Matthias Hochsteger
8fd08ef4ac Download prebuilt CGNS library on MacOS 2020-03-11 21:41:38 +01:00
Matthias Hochsteger
603141cf1a Fix CGNS support on Windows 2020-03-11 14:53:08 +00:00
Matthias Hochsteger
db5ad09b79 Initial CGNS format read support 2020-03-11 13:39:40 +01:00
Matthias Hochsteger
0bcee4d6b0 Fix FindOpenCasCade.cmake 2020-03-02 17:04:11 +01:00
Matthias Hochsteger
ce90bd9e83 [cmake] Simplify compile flag handling on Windows
Add options/define flags to ngcore, so they are automatically passed on
to dependencies
2020-01-16 16:38:06 -08:00
Matthias Hochsteger
09afc419bc [cmake] option USE_NATIVE_ARCH for Windows 2020-01-15 16:49:27 -08:00
Matthias Hochsteger
19124f8d30 [cmake] Fix Windows build with spaces in build dir 2019-12-10 17:02:48 +00:00