Commit Graph

12 Commits

Author SHA1 Message Date
Matthias Hochsteger
cb8bef9423 Force rebuild of Netgen subproject when building the Superbuild
CMake is using stamp files to check if the external projects are out
of date. There is an option 'BUILD_ALWAYS 1' of ExternalProject_Add,
but it is not available prior to CMake 3.1.

To work around it, this commit solves two problems at once:

- Add a new step 'check_submodules' between configure and build
  to check if all submodules are up to date. This step has the option
  'ALWAYS 1', which means it is always considered outdated.

- Since 'build' depends on the above step, it will always be started
2017-01-20 10:16:48 +01:00
Matthias Hochsteger
2d63931130 Fixes for MacOS build 2017-01-15 19:32:59 +01:00
Matthias Hochsteger
2b16f9994f Fix write permission check 2017-01-10 18:45:49 +01:00
Matthias Hochsteger
b9018982e1 Differen default install dir on MacOS 2017-01-10 18:40:26 +01:00
Matthias Hochsteger
d6c6fbab98 allow parallel build for netgen subproject 2017-01-10 12:39:12 +01:00
Matthias Hochsteger
d557e59a69 check for write permissions at INSTALL_DIR on Unix platforms 2017-01-10 12:02:04 +01:00
Matthias Hochsteger
77dde0977b Search for pybind11 only at the git submodule location
- Fixes a bug where pybind11 is found in the installation directory
2017-01-10 10:47:01 +01:00
Matthias Hochsteger
e4e1d0316c forward PYBIND_INCLUD_DIR to Netgen subproject 2017-01-09 19:15:44 +01:00
Matthias Hochsteger
190d035809 Fix Python paths 2017-01-09 18:45:12 +01:00
Matthias Hochsteger
fc64b97e77 CMake: fix finding Python 3 libraries 2017-01-09 14:03:36 +01:00
Matthias Hochsteger
5f3cf1a806 fix slash/baslash issue in CMake path 2017-01-05 15:05:13 +01:00
Matthias Hochsteger
80536a3308 CMake: Add External projects to fetch and install some dependencies automatically on Windows and MacOS 2016-12-22 19:12:11 +01:00