Commit Graph
22 Commits
Author SHA1 Message Date
Evan Barentin 2b05343e0d Normalize all the line endings (#2288) 2023-09-22 12:39:53 -04:00
Alec Jacobson 687530283c Fix a bunch of warnings (#2254)
* fix a couple warnings

* fix a bunch of warnings (mostly unused variable)

* fix a bunch of warnings and simplify params

* Special assert so that variables aren't seen as unused

* fix tutorial

* undo erroneous line removal

* ASSERT -> IGL_ASSERT

* VSC ❄️ doesn't realize MAX_DEPTH is conts
2023-08-26 22:42:47 -04:00
Alexander Sulfrian 97fb89c955 Source code should not be marked as executable (#2231) [ci skip]
The executable file flag should only be used for binaries and scripts
with a shebang specifying the interpreter of the script.
2023-08-18 11:04:36 -04:00
b0fd49d598 CMake refactor (#1805)
* Start CMake refactoring.

* WIP on instlal().

* Handle install + hunter setup.

* Handle module options + igl_include helper.

* Build all tutorials again.

* Update CMake for unit tests.

* Update triangle lib.

* Update Hunter integration.

* Fix for header-only mode.

* Fix Windows compilation + add GMP/MPFR find_package + set VS folders.

* Fix CGAL build.

* Add copy dll for Windows + improve find gmp/mpfr.

* Update Github Actions.

* Update README.

* Fixes for CMake 3.18

* Fix include option.

* Rename libigl_imgui_front to avoid conflicts.

* Fix when disabling unit tests.

* Build imguizmo with C++11.

* Update CMake option comments.

* Rename nonfree -> restricted.

* Update triangle and tetgen versions.

* Fix compilation issue.

* Update continuous.yml

* remove cork

* finding matlab with default

* mosek module compiles; default detected; osx dylib hack

* Reduce build parallelism.

* Fix find GMP/MPFR on Windows + cleanup CGAL changes.

* Update readme.

Co-authored-by: Alec Jacobson <alecjacobson@adobe.com>
Co-authored-by: Alec Jacobson <alecjacobson@gmail.com>
2022-02-09 18:58:40 -08:00
Alec Jacobson 4a22178717 rm _bin from names and use bin dir instead 2020-08-22 16:15:12 -04:00
ZM-LT 174ac59db6 update M_PI to igl::PI. header file inclusion for some files are also added.
Former-commit-id: 7565b77de7
2018-08-09 23:04:36 +02:00
Zhongshi Jiang f5bf4fc9dc Change all CMakeLists.txt so don't need to specify project name
Former-commit-id: 6d775fbc1f
2018-03-14 22:29:45 -04:00
Alec Jacobson 3b3d439db5 merge
Former-commit-id: 9bc8064132
2017-10-13 10:22:58 -04:00
Jérémie Dumas c989391cac Enable more tutorials.
Former-commit-id: ca9e7a160d
2017-09-06 16:21:50 -04:00
Jérémie Dumas 563124d587 Compile chapters up to 5.
Former-commit-id: c703711941
2017-08-16 12:47:16 -04:00
Alec Jacobson 863073619a libiglfoo.a --> libigl_foo.a, acknowledge that viewer needs opengl and glfw in cmake
Former-commit-id: dfd107368b
2017-01-10 02:08:47 -05:00
Alec Jacobson c5da8fdb17 refactored tutorial CMakeLists with strict dependencies
Former-commit-id: 9ae60fa5f0
2016-06-13 18:44:24 -04:00
Romain Prévost 999332505b embree static fixed
Former-commit-id: 33c92219e9
2016-03-08 17:49:02 +01:00
Romain Prévost 5548464b67 updated cmake version
Former-commit-id: 2cd2d17780
2016-03-06 23:23:32 +01:00
Romain Prévost 2ef67dab06 new cmake files
Former-commit-id: 0f9cae95af
2015-10-21 23:31:40 +02:00
Daniel Crispell 6eae3ca6b0 replaced static tutorial_shared_path string with #define
Former-commit-id: bd37fbf7c1
2015-10-17 23:55:35 -04:00
Daniel Crispell c861c711a0 Enable out of source tutorial build
Use CMake's "configure_file" functionality to store path to the tutorial
shared directory, enabling tutorial executables build out of source to
correctly find the data files.


Former-commit-id: a0eed05e8b
2015-10-09 22:52:39 -04:00
Alec Jacobson 38328367b6 reorganize tutorial cmake, bug fix in static ver. of npoly demo
Former-commit-id: eb7d645d5e
2015-06-17 18:08:29 -04:00
Alec Jacobson 0640f41c49 compile tutorial with namespace
Former-commit-id: 6643b9a67c
2015-06-17 11:25:29 -04:00
Alec Jacobson 013dd64cde angles --> internal_angles
Former-commit-id: 286edc3c4b
2015-06-12 17:38:36 -04:00
Daniele Panozzo 583dacc21e updated embree, fixed cmakefiles, still some bugs in the tutorial example
Former-commit-id: 17c9429d26
2015-02-04 22:48:31 +01:00
Alec Jacobson 719c8c70e9 moved 610 to 701
Former-commit-id: 7e212e387d
2015-02-02 09:16:49 -05:00