-
Notifications
You must be signed in to change notification settings - Fork 2
/
CMakeLists.txt
executable file
·40 lines (31 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
37
38
39
40
cmake_minimum_required(VERSION 3.13)
project(SurfelPLYViewer)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-function" )
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
#################################
# Specify the CMake module path #
#################################
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/libGUI3D/cmake ${CMAKE_MODULE_PATH})
############
# External #
############
#INCLUDE(${PROJECT_SOURCE_DIR}/cmake/UseCxxTools.cmake)
#INCLUDE(${PROJECT_SOURCE_DIR}/cmake/UseJson.cmake)
INCLUDE(${PROJECT_SOURCE_DIR}/cmake/UseTinyPLY.cmake)
INCLUDE(${PROJECT_SOURCE_DIR}/libGUI3D/cmake/UseCxxTools.cmake)
INCLUDE_DIRECTORIES(libGUI3D/libGUI3D/include)
######################
# Add subdirectories #
######################
######################
# Add subdirectories #
######################
ADD_SUBDIRECTORY(libGUI3D)
#ADD_SUBDIRECTORY(libGUI3D/libGUI)
#ADD_SUBDIRECTORY(libGUI3D/libGUI3D)
ADD_SUBDIRECTORY(libSurfelPlyViewer)
ADD_EXECUTABLE(surfelPlyViewer main.cpp)
TARGET_LINK_LIBRARIES(surfelPlyViewer PRIVATE libSurfelPlyViewer)