https://github.com/HTDerekLiu/surface_multigrid_code
Revision a104c8331d64f25de115c2ad0cb21c93b2d6e012 authored by HTDerekLiu on 01 March 2021, 21:06:33 UTC, committed by HTDerekLiu on 01 March 2021, 21:06:33 UTC
1 parent 3b8a064
Raw File
Tip revision: a104c8331d64f25de115c2ad0cb21c93b2d6e012 authored by HTDerekLiu on 01 March 2021, 21:06:33 UTC
add singel level SSP demo
Tip revision: a104c83
CMakeLists.txt
cmake_minimum_required(VERSION 3.1)
SET(CMAKE_BUILD_TYPE release)
project(main)

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake)

# libigl
option(LIBIGL_WITH_OPENGL            "Use OpenGL"         ON)
option(LIBIGL_WITH_OPENGL_GLFW       "Use GLFW"           ON)

find_package(LIBIGL REQUIRED)

# Add your project files
include_directories("../utils/")

get_property(dirs DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY INCLUDE_DIRECTORIES)
foreach(dir ${dirs})
  message(STATUS "dir='${dir}'")
endforeach()

file(GLOB SRCFILES *.cpp ../utils/*.cpp)
add_executable(${PROJECT_NAME}_bin ${SRCFILES})

target_link_libraries(${PROJECT_NAME}_bin igl::core igl::opengl igl::opengl_glfw)



back to top