Commit Graph

67 Commits

Author SHA1 Message Date
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
Matthias Hochsteger
f3d9d3ad67 [cmake] Don't link python libraries in unix-conda environment
Conda links python libs statically to python executable
2019-11-26 19:26:18 +00:00
Matthias Hochsteger
84eed492ca [cmake] Export CHECK_RANGE settings 2019-11-04 17:22:59 +01:00
Matthias Hochsteger
db2656132c Link OCC lib TKVCAF only for occ>=7.3.0 2019-10-28 17:03:59 +01:00
Matthias Hochsteger
396d7cdcd2 Option to link static build of OpenCascade 7.4.0
For static builds, freetype must be linked explicitly
2019-10-28 14:21:39 +01:00
Lukas Kogler
0e7cfecf7a use parmetis metis in netgen 2019-10-01 09:48:38 +00:00
Matthias Hochsteger
5be787f1a2 Use own fork of Tcl/Tk for MacOS (with configure scripts checked in) 2019-09-04 10:01:32 +02:00
Matthias Hochsteger
26fcc2b177 Build Tcl/Tk 8.6.10-rc on MacOS 2019-09-02 23:35:02 +02:00
Matthias Hochsteger
cf1a83edcd [cmake] Build TkDND instead of downloading the binary
This was changed accidentally in commit
  9cbb51434b
  [cmake] Build Tcl/Tk 8.6.9 on MacOS
2019-09-02 22:42:51 +02:00
Matthias Hochsteger
9cbb51434b [cmake] Build Tcl/Tk 8.6.9 on MacOS 2019-08-26 10:11:51 +00:00
Christopher Lackner
13fa0acb2b pass BUILD_STUB_FILES option to superbuild 2019-06-30 12:52:08 +02:00
Matthias Hochsteger
b34f0b5333 Fix METIS download url, update to 5.1.0-p6 2019-06-02 23:12:56 +02:00
Lukas
89aa6eb374 hand C++ compiler to metis 2019-05-17 14:15:15 +02:00
Matthias Hochsteger
6e53e3c3e8 [cmake] Change link to metis sources 2019-05-17 13:10:37 +02:00
Lukas
efebb1a6e3 only give metis C compiler 2019-04-17 15:04:24 +02:00
Lukas
6f91ab5a2c always build metis with position independent code 2019-04-17 10:45:54 +02:00
Matthias Hochsteger
c0d0a3a1ab [cmake] Fix Python version check 2019-01-18 12:32:10 +01:00
Christopher Lackner
5602322e94 add RangeException, NETGEN_CHECK_RANGE macro 2019-01-02 16:30:55 +01:00
Christopher Lackner
fd3474f5cb logging in ngcore 2018-12-28 13:43:15 +01:00
Matthias Hochsteger
695a55e247 Fix tkdnd patch for MacOSX 2018-12-14 11:46:21 +01:00
Christopher Lackner
c5af003bba Merge remote-tracking branch 'gitlab/master' into ngcore 2018-12-13 13:19:40 +01:00
Christopher Lackner
17aba88117 [ngcore] follow cpp guidelines, check them with clang-tidy 2018-12-08 16:10:29 +01:00
Matthias Hochsteger
ed494caa44 [cmake] Build tkdnd with CMake and correct Tcl/Tk version 2018-12-06 17:03:56 +01:00
Christopher Lackner
8e29d38fc1 archive works for pointers and shared_ptrs (even with
mult. inheritance and virtual base classes)
2018-12-03 16:28:04 +01:00
Matthias Hochsteger
f1dc069052 [cmake] Propagate CMAKE_OSX_SYSROOT 2018-10-03 16:11:45 +02:00
Matthias Hochsteger
502413fb02 [cmake] Propagate CMAKE_OSX_DEPLOYMENT_TARGET 2018-10-02 15:32:45 +02:00
Matthias Hochsteger
28f26ae326 [cmake] Use other mirror for metis sources 2018-09-22 12:50:59 +02:00
Matthias Hochsteger
f29a78d426 [cmake] Use tcl/tk provided by Python 3.7 on MacOS 2018-08-28 18:31:54 +02:00
Matthias Hochsteger
9d361a354a Revert "[cmake] Use relative paths for dependencies inside install dir"
This reverts commit f098532aa1.
2018-07-02 12:25:18 +02:00
Matthias Hochsteger
f098532aa1 [cmake] Use relative paths for dependencies inside install dir 2018-07-02 03:15:13 -07:00
Matthias Hochsteger
90dee5fde4 Define PACKAGE_VERSION in mydefs.hpp
Change "PACKAGE_VERSION" to "NETGEN_VERSION" in NetgenConfig.cmake
2018-02-02 11:22:08 +01:00
Matthias Hochsteger
0257f416b2 [cmake] Search pybind11 if USE_SUPERBUILD=OFF
Also don't install the pybind headers without superbuild
2018-01-25 14:01:57 +01:00
Matthias Hochsteger
b1cb2883e7 [cmake] Fix default install dir for Python modules 2017-11-13 13:48:22 +01:00
Matthias Hochsteger
03f73094e9 [windows] New repo for external dependencies
Separate fils for zlib, TCL/TK and OCC dependencies to fix the
superbuild with USE_GUI=OFF
Download dependencies from github.com/NGSolve/ngsolve_dependencies
2017-11-13 02:38:13 -08:00
Matthias Hochsteger
c55ad18a73 Fix build/image export with USE_JPEG=ON
- fixes broken build with USE_JPEG
 - cleanes up the screenshot code itself (there were problems with memory
   alignment, now enforce alignment of 1 byte)
 - proper error message if 'convert' is not working
 - append '.ppm' to file for temporary filename instead of replacing last
   three characters
2017-09-22 11:26:10 +02:00