Change CMakeLists.txt in tutorials and some fix Former-commit-id: d39d3bad0134a733c1268600131aeae69161bdfb
@@ -1,5 +1,5 @@
-cmake_minimum_required(VERSION 2.8.12)
-project(101_FileIO)
+get_filename_component(PROJECT_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME)
+project(${PROJECT_NAME})
add_executable(${PROJECT_NAME}_bin main.cpp)
target_link_libraries(${PROJECT_NAME}_bin igl::core tutorials)
-project(102_DrawMesh)
target_link_libraries(${PROJECT_NAME}_bin igl::core igl::opengl igl::opengl_glfw tutorials)
-project(103_Events)
-project(104_Colors)
-project(105_Overlays)
-project(106_ViewerMenu)
target_link_libraries(${PROJECT_NAME}_bin igl::core igl::opengl igl::opengl_glfw igl::opengl_glfw_imgui tutorials)
-project(107_MultipleMeshes)
-project(201_Normals)
-project(202_GaussianCurvature)
-project(203_CurvatureDirections)
-project(204_Gradient)
-project(205_Laplacian)
-project(206_GeodesicDistance)
-project(301_Slice)
-project(302_Sort)
-project(303_LaplaceEquation)
-project(304_LinearEqualityConstraints)
-project(305_QuadraticProgramming)
-project(306_EigenDecomposition)
-project(401_BiharmonicDeformation)
-project(402_PolyharmonicDeformation)
-project(403_BoundedBiharmonicWeights)
-project(404_DualQuaternionSkinning)
-project(405_AsRigidAsPossible)
-project(406_FastAutomaticSkinningTransformations)
-project(407_BiharmonicCoordinates)
-project(501_HarmonicParam)
-project(502_LSCMParam)
-project(503_ARAPParam)
-project(504_NRosyDesign)
target_link_libraries(${PROJECT_NAME}_bin igl::core igl::opengl igl::opengl_glfw igl::comiso tutorials)
-project(505_MIQ)
-project(506_FrameField)
-project(507_Planarization)
-project(601_Serialization)
target_link_libraries(${PROJECT_NAME}_bin igl::core igl::opengl igl::opengl_glfw igl::xml tutorials)
-project(602_Matlab)
target_link_libraries(${PROJECT_NAME}_bin igl::core igl::opengl igl::opengl_glfw igl::matlab tutorials)
-project(604_Triangle)
target_link_libraries(${PROJECT_NAME}_bin igl::core igl::opengl igl::opengl_glfw igl::triangle tutorials)
-project(605_Tetgen)
target_link_libraries(${PROJECT_NAME}_bin igl::core igl::opengl igl::opengl_glfw igl::tetgen tutorials)
-project(606_AmbientOcclusion)
target_link_libraries(${PROJECT_NAME}_bin igl::core igl::opengl igl::opengl_glfw igl::embree tutorials)
-project(607_ScreenCapture)
target_link_libraries(${PROJECT_NAME}_bin igl::core igl::opengl igl::opengl_glfw igl::png tutorials)
-project(608_LIM)
target_link_libraries(${PROJECT_NAME}_bin igl::core igl::lim igl::opengl igl::opengl_glfw tutorials)
-project(609_Boolean)
target_link_libraries(${PROJECT_NAME}_bin igl::core igl::cgal igl::opengl igl::opengl_glfw tutorials)
-project(610_CSGTree)
-project(701_Statistics)
-project(702_WindingNumber)
-project(703_Decimation)
-project(704_SignedDistance)
-project(705_MarchingCubes)
-project(706_FacetOrientation)
-project(707_SweptVolume)
-project(708_Picking)
-project(710_SLIM)
-project(711_Subdivision)
-project(712_DataSmoothing)
-project(713_ShapeUp)
@@ -1 +1 @@
-25459975e136159f61ba5a0b623fb53c2e010800
+10ce6d7642655c1d4ac1d5236c73b1b53d463451
-265ab5bbee379703846959c91d8133e023079dcf
+e2184ba78f39359a00bd4bc8cdf90f6a185d955e