forked from swayfreeda/ImageBasedModellingEduV1.0
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
72 lines (67 loc) · 1.86 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
project(texturing)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_FLAGS "-fPIC")
add_definitions(-DRESEARCH)
include_directories(..)
include_directories(../3rdParty/mrf)
include_directories(../3rdParty/coldet/src)
set(HEADERS
defines.h
debug.h
util.h
timer.h
texturing.h
histogram.h
progress_counter.h
material_lib.h
obj_model.h
poisson_blending.h
rect.h
rectangular_bin.h
seam_leveling.h
settings.h
sparse_table.h
texture_atlas.h
texture_patch.h
texture_view.h
tri.h
uni_graph.h
timer.h
)
set(SOURCE_FILES
build_adjacency_graph.cpp
build_obj_model.cpp
calculate_data_costs.cpp
generate_debug_embeddings.cpp
generate_texture_atlases.cpp
generate_texture_patches.cpp
generate_texture_views.cpp
global_seam_leveling.cpp
histogram.cpp
local_seam_leveling.cpp
material_lib.cpp
obj_model.cpp
poisson_blending.cpp
prepare_mesh.cpp
prepare_mesh.cpp
rectangular_bin.cpp
seam_leveling.cpp
texture_atlas.cpp
texture_patch.cpp
texture_view.cpp
tri.cpp
uni_graph.cpp
view_selection.cpp
timer.cpp
)
add_library(texturing ${HEADERS} ${SOURCE_FILES})
#target_link_libraries(sfm core util features)
#file (GLOB HEADERS "*.h")
#file (GLOB SOURCES "[^_]*.cpp")
#
#set(LIBRARY tex)
#add_library(${LIBRARY} STATIC ${SOURCES})
#set_property(TARGET ${LIBRARY} PROPERTY INTERPROCEDURAL_OPTIMIZATION True)
#add_dependencies(${LIBRARY} ext_mve ext_rayint ext_eigen ext_mapmap)
#target_link_libraries(${LIBRARY} ${TBB_LIBRARIES} -lmve -lmve_util ${JPEG_LIBRARIES} ${PNG_LIBRARIES} ${TIFF_LIBRARIES})
#install(TARGETS ${LIBRARY} ARCHIVE DESTINATION lib)