-
Notifications
You must be signed in to change notification settings - Fork 11
/
CMakeLists.txt
36 lines (28 loc) · 1.17 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
cmake_minimum_required(VERSION 3.12)
project(ScissorPolyCube)
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
# Please install mosek 8, CGAL, Boost
# Please set BOOST_ROOT CGAL_DIR in your system path if they are not set automatically.
find_package(CGAL REQUIRED)
find_package(MOSEK REQUIRED)
include(${CGAL_USE_FILE})
if (Boost_FOUND)
include_directories(${Boost_INCLUDE_DIRS})
link_directories(${BOOST_LIBRARYDIR})
endif()
if (CGAL_FOUND)
include_directories(${CGAL_DIR})
endif()
include_directories(${CMAKE_SOURCE_DIR}/extern)
include_directories(${CMAKE_SOURCE_DIR}/extern/OpenMesh/src)
include_directories(${CMAKE_SOURCE_DIR}/extern/OpenVolumeMesh/src)
include_directories(${CMAKE_SOURCE_DIR}/extern/eigen3)
add_subdirectory(${CMAKE_SOURCE_DIR}/extern/gflags)
add_subdirectory(${CMAKE_SOURCE_DIR}/extern/OpenMesh)
add_subdirectory(${CMAKE_SOURCE_DIR}/extern/OpenVolumeMesh)
add_subdirectory(${CMAKE_SOURCE_DIR}/extern/tetgen)
add_subdirectory(${CMAKE_SOURCE_DIR}/extern/SUS)
add_subdirectory(${CMAKE_SOURCE_DIR}/PolyCubeCut)
add_subdirectory(${CMAKE_SOURCE_DIR}/ScissorPoly)
add_subdirectory(${CMAKE_SOURCE_DIR}/HexOptimizer)
add_subdirectory(${CMAKE_SOURCE_DIR}/Utils)