Commit Graph
59 Commits
Author SHA1 Message Date
Alec Jacobson 7e0e6a87e0 Update libigl.cmake
fix matlab options
2019-06-07 17:23:46 -04:00
Jérémie Dumas 10e04cbef5 Update GLFW to 3.3 (#1153)
* Update GLFW and Embree + use git urls (fixes #1019).

* Simplify Embree build.

* More robust top-level project detection.
2019-05-07 07:48:25 -04:00
Qingnan Zhou e38ee99766 Fix https://github.com/libigl/libigl/issues/1168 (#1173)
* Replicate linking error described in https://github.com/libigl/libigl/issues/1168

* Fix https://github.com/libigl/libigl/issues/1168.

* Ensure header-only mode works.

* Disambiguate exactinit call in unit test.
2019-04-22 22:24:03 -04:00
Qingnan Zhou a7cf3ddc1f Address Hanxiao's comment. 2019-04-19 14:45:17 -04:00
Qingnan Zhou 6ad790f846 Update predicates and avoid heap allocations. 2019-04-19 13:10:31 -04:00
Qingnan Zhou ccfe8b6843 Add support for Shewchuk's predicates. 2019-04-18 22:11:07 -04:00
Francis Williams bb2d2188ef Merge pull request #1039 from jdumas/imgui
Updates ImGui dependency to 1.69
2019-03-19 18:35:01 -04:00
Jérémie Dumas 412f8c5def Update LibiglDownloadExternal.cmake 2019-03-18 21:48:24 -04:00
Stefan Reinhold 7a1e0435a8 Fix: Wrong Eigen3 dependency when using find_package(libigl) #1100 (#1101)
* Fix #1100

When the target Eigen3::Eigen is not present but could be found using
find_package() igl::core and igl::common link against the wrong TARGET
PkgConfig::Eigen3. Fixed this and also did some code cleanup.

* Drop support for PkgConfig

* Simplify configuration code

- Removed redundant call to find_package
- Removed LIBIGL_Eigen3_Target variable
- Echo status message
2019-03-01 10:28:47 -05:00
Stefan Reinhold c65e487996 Fix igl common cmake config (#1097)
* Set libigl_common_FOUND if arget is OK

In libigl-config.cmake.in only libigl_core_FOUND was set, resulting in
an error if the user requested the igl::common feature, see #1077

* Replace target_link_libraries with set_target_properties

Otherwise cmake complains that the targets igl::core and igl::common are
not built by the current project.

* Also install .c files
2019-02-27 13:42:40 -05:00
Jérémie Dumas 6992440c83 Might as well update ImGui to 1.68 2019-02-23 01:14:51 -05:00
Wieland Morgenstern f102334b7a Bump stb_image version 2019-01-15 22:27:06 +01:00
Jérémie Dumas b62b908d1d Fix paths. 2019-01-10 14:51:37 -05:00
Jérémie Dumas 0920459a45 Fix Travis build + minor CMake improvements.
* Add option to skip cmake external download (#1068);
* Add option 'TLS_VERIFY OFF' directly in libigl's CMake script instead
  of 'DownloadProject.CMakeLists.cmake.in' (#1021).
2019-01-10 14:17:46 -05:00
Jérémie Dumas a5cd601cb5 Fix default cmake variables. 2018-12-28 15:19:11 +01:00
Jérémie Dumas 607148cf72 Misc compilation fixes for Eigen 3.3 compatibility. 2018-12-28 15:02:21 +01:00
Jérémie Dumas 28d72d3b81 Use dynamic version of Boost with Python bindings. 2018-12-28 09:49:59 +01:00
Alec Jacobson f186bed09c update tests 2018-12-26 18:37:34 -06:00
Alec Jacobson 85b93826a2 merge 2018-12-24 16:41:35 -06:00
Qingnan Zhou 626aeba4bd Add cut to disk unittest (#1007)
* Add failing unit test for https://github.com/libigl/libigl/pull/984.

* Update test data repo.

* Remove check on number of cuts since boundary may also be reported as cut.

* Update unittest tag.

* Update LibiglDownloadExternal.cmake
2018-12-08 16:29:49 +09:00
Jérémie Dumas 987321eb1b Update imgui dependency. 2018-12-04 17:52:27 +09:00
Francis Williams b87a8b2743 Merge pull request #1008 from jdumas/fix-python
Fix build python bindings
2018-11-28 15:27:36 +01:00
Alec Jacobson d0ccc52e51 Merge pull request #1023 from libigl/alecjacobson-patch-1
Update DownloadProject.CMakeLists.cmake.in
2018-11-19 20:53:59 -05:00
Alec Jacobson 46c76ee772 Update DownloadProject.CMakeLists.cmake.in
Fix https://github.com/libigl/libigl/issues/1021#issuecomment-440078712
2018-11-19 18:26:29 -05:00
Jérémie Dumas fc63f61f97 Stb. 2018-11-13 12:04:40 +01:00
Jérémie Dumas 853240d83c Glad. 2018-11-13 11:24:18 +01:00
Jérémie Dumas c4a31599a5 Update tetgen+triangle CMake. 2018-11-13 10:31:50 +01:00
Jérémie Dumas 47143c1f30 Update CoMiSo dependency. 2018-11-13 09:46:49 +01:00
Jérémie Dumas 7d2a958ab3 Fix -fPIC issue. 2018-11-13 00:08:47 +01:00
Jérémie Dumas b0c518a05f Fix build for current python bindings. 2018-11-12 22:56:45 +01:00
Jérémie Dumas 1dce7f09b6 Merge pull request #977 from jdumas/glfw
Bump version of glfw.
2018-11-06 18:52:14 -05:00
Jérémie Dumas b7db5a8ee0 Stupid template should compile now. 2018-11-05 18:04:07 -05:00
Jérémie Dumas a1395f916a Update LibiglDownloadExternal.cmake 2018-11-05 00:50:54 -05:00
Jérémie Dumas b580234968 Try to make Travis/AppVeyor happy. 2018-11-04 13:38:20 -05:00
ikoruk b7124f179f add unit tests for embree (#952)
* add unit tests for embree

* discovered bug with intersect beam and wrote unit test for the fix

* Update EmbreeIntersector.cpp

updated test to catch2

* Update CMakeLists.txt

removed tab to rerun CI

* Update CMakeLists.txt

* Update CMakeLists.txt

* caching value of BUILD_TESTING before resetting it

* Try to build embree statically on Windows.

* Try to enable testing early on.

* Update Catch2 version.

* Set CMake build type.

* Trying to build embree statically.

* Fix static compilation of embree on Windows.

* Cleanup.
2018-11-04 11:00:35 -05:00
Francis Williams 7cd05d594c Merge pull request #947 from rayform/embree3
update for embree 3
2018-10-30 15:40:57 -04:00
Alec Jacobson 7f7551af16 Merge pull request #961 from teseoch/catch2
Changed from google test to catch
2018-10-29 17:45:10 -04:00
teseoch 8338d9e6ee Merge pull request #960 from teseoch/unit-test-windows
enabled testing on windows
2018-10-29 16:07:34 -04:00
teseoch 6f41773f47 Merge branch 'dev' into catch2 2018-10-29 15:59:34 -04:00
Jérémie Dumas a103eb67fe Move CMake Windows code to a separate file. 2018-10-28 17:43:50 -04:00
Teseo Schneider aa40b908c9 updated gtest to catch 2018-10-19 17:46:41 -04:00
Jérémie Dumas ef73edafd1 Fix CMake 3.11 warning about FindOpenGL. 2018-10-18 18:27:54 -04:00
Jérémie Dumas d49c892643 Bump version of glfw. 2018-10-18 18:06:49 -04:00
Jérémie Dumas eb3953d901 Make libigl targets installable only for toplevel projects by default (follow-up on #839). 2018-10-18 14:41:05 -04:00
Yuliy Schwartzburg 0eb5ddfa40 update for embree 3 2018-10-16 15:47:02 +02:00
Jérémie Dumas 8895c712b6 Fix position independent code on Linux. (#941)
Former-commit-id: e21aa88a8b
2018-10-15 12:46:03 -04:00
Alec Jacobson 7f852d8aee fix options
Former-commit-id: 8a2d93cf14
2018-10-15 12:41:49 -04:00
Qingnan Zhou 5977205363 Make boost static lib an option. (#936)
* Migrate unit tests back to the main repo.

* Minor bug fixes and getting unit test migrated.

* Minor cmake bug for unit tests.

* Make CGAL boost static lib an option.

* Update libigl.cmake

change to ON


Former-commit-id: eb3b18002e
2018-10-15 11:46:38 -04:00
Jérémie Dumas 956c94dfad Merge remote-tracking branch 'origin/dev' into external
Former-commit-id: 9d1dab22c1
2018-10-15 10:51:24 -04:00
Jérémie Dumas 8825f6f94a Hide warning about detached HEAD.
Former-commit-id: 40c3279113
2018-10-15 10:50:15 -04:00