forked from weisui-ad/ImageBasedModellingEdu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
27 lines (20 loc) · 952 Bytes
/
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
project(class7)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_FLAGS "-fPIC")
include_directories("../..")
include_directories(../../3rdParty/eigen)
#set(TBB_INCLUDE_DIRS "/usr/local/Cellar/tbb/2019_U1/include" CACHE PATH "Path to where the TBB include files (tbb/) reside")
#set(TBB_LIBRARY "/usr/local/Cellar/tbb/2019_U1/lib" CACHE PATH "Path to where the TBB library files (libtbb.so etc.) reside")
#list(APPEND CMAKE_MODULE_PATH "../../cmake")
###find_package(TBB COMPONENTS tbbmalloc tbbmalloc_proxy tbb_preview)
####find_package(OpenGL REQUIRED)
set(MESH_CLEAN_SOURCES
task7_1_meshclean.cc)
add_executable(task7_1_mesh_clean ${MESH_CLEAN_SOURCES})
target_link_libraries(task7_1_mesh_clean util core surface)
set(TEXTURING_SOURCES
arguments.h
arguments.cpp
task7_2_texrecon.cpp)
add_executable(task7_2_texturing ${TEXTURING_SOURCES})
target_link_libraries(task7_2_texturing mvs util core texturing coldet mrf gco)