|
@@ -10,7 +10,7 @@ find_package(MATLAB QUIET)
|
|
|
find_package(MOSEK)
|
|
|
|
|
|
### libIGL options: choose between header only and compiled static library
|
|
|
-option(LIBIGL_USE_STATIC_LIBRARY "Use LibIGL as static library" OFF)
|
|
|
+option(LIBIGL_USE_STATIC_LIBRARY "Use LibIGL as static library" ON)
|
|
|
option(LIBIGL_WITH_VIEWER "Use OpenGL viewer" ON)
|
|
|
option(LIBIGL_WITH_NANOGUI "Use Nanogui menu" OFF)
|
|
|
|
|
@@ -47,7 +47,7 @@ option(TUTORIALS_CHAPTER2 "Compile chapter 2" ON)
|
|
|
option(TUTORIALS_CHAPTER3 "Compile chapter 3" ON)
|
|
|
option(TUTORIALS_CHAPTER4 "Compile chapter 4" ON)
|
|
|
option(TUTORIALS_CHAPTER5 "Compile chapter 5" ON)
|
|
|
-option(TUTORIALS_CHAPTER6 "Compile chapter 6" OFF)
|
|
|
+option(TUTORIALS_CHAPTER6 "Compile chapter 6" ON)
|
|
|
option(TUTORIALS_CHAPTER7 "Compile chapter 7" OFF)
|
|
|
|
|
|
# Store location of tutorial/shared directory
|
|
@@ -115,27 +115,27 @@ endif()
|
|
|
|
|
|
# Chapter 6
|
|
|
if(TUTORIALS_CHAPTER6)
|
|
|
- if(LIBIGL_WITH_XML)
|
|
|
- add_subdirectory("601_Serialization")
|
|
|
- endif()
|
|
|
- if(LIBIGL_WITH_MATLAB)
|
|
|
- add_subdirectory("602_Matlab")
|
|
|
- endif()
|
|
|
- if(LIBIGL_WITH_TRIANGLE)
|
|
|
- add_subdirectory("604_Triangle")
|
|
|
- endif()
|
|
|
- if(LIBIGL_WITH_TETGEN)
|
|
|
- add_subdirectory("605_Tetgen")
|
|
|
- endif()
|
|
|
- if(LIBIGL_WITH_EMBREE)
|
|
|
- add_subdirectory("606_AmbientOcclusion")
|
|
|
- endif()
|
|
|
- if(LIBIGL_WITH_PNG)
|
|
|
- add_subdirectory("607_ScreenCapture")
|
|
|
- endif()
|
|
|
- if(LIBIGL_WITH_LIM)
|
|
|
- add_subdirectory("608_LIM")
|
|
|
- endif()
|
|
|
+ # if(LIBIGL_WITH_XML)
|
|
|
+ # add_subdirectory("601_Serialization")
|
|
|
+ # endif()
|
|
|
+ # if(LIBIGL_WITH_MATLAB)
|
|
|
+ # add_subdirectory("602_Matlab")
|
|
|
+ # endif()
|
|
|
+ # if(LIBIGL_WITH_TRIANGLE)
|
|
|
+ # add_subdirectory("604_Triangle")
|
|
|
+ # endif()
|
|
|
+ # if(LIBIGL_WITH_TETGEN)
|
|
|
+ # add_subdirectory("605_Tetgen")
|
|
|
+ # endif()
|
|
|
+ # if(LIBIGL_WITH_EMBREE)
|
|
|
+ # add_subdirectory("606_AmbientOcclusion")
|
|
|
+ # endif()
|
|
|
+ # if(LIBIGL_WITH_PNG)
|
|
|
+ # add_subdirectory("607_ScreenCapture")
|
|
|
+ # endif()
|
|
|
+ # if(LIBIGL_WITH_LIM)
|
|
|
+ # add_subdirectory("608_LIM")
|
|
|
+ # endif()
|
|
|
if(LIBIGL_WITH_CGAL)
|
|
|
add_subdirectory("609_Boolean")
|
|
|
add_subdirectory("610_CSGTree")
|