-
Notifications
You must be signed in to change notification settings - Fork 3
/
CMakeLists.txt
28 lines (21 loc) · 1022 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
28
cmake_minimum_required(VERSION 3.1)
project(LowCost3DReconstruction)
set(CMAKE_CXX_STANDARD 14)
add_definitions(-Wall)
# Guard against in-source builds
if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
message(FATAL_ERROR "In-source builds not allowed. Please make a new directory and run CMake from there. You may need to remove CMakeCache.txt.")
endif()
# Add targets
add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/capture/depth_capture/")
add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/capture/depth_capture_kv2/")
add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/capture/super_resolution/")
add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/capture/super_resolution_kv2/")
add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/pcl_tools/")
add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/rotate_align/")
add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/bundle_merge/")
# Install meshlab files
install(DIRECTORY meshlab/
DESTINATION ${CMAKE_INSTALL_PREFIX}/LowCost3DReconstruction
FILE_PERMISSIONS WORLD_READ WORLD_EXECUTE
)