-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
31 lines (27 loc) · 1.21 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
cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
project(Point_Cloud_Viewer)
function (add_subdirectory_if_exist arg)
message(STATUS "add_subdirectory_if_exist: ${CMAKE_CURRENT_SOURCE_DIR}/${ARGV0}/CMakeLists.txt")
if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${ARGV0}/CMakeLists.txt)
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/${ARGV0})
endif()
endfunction ()
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/products/bin)
SET(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/products/lib)
set(OPENGLDEMO_SRC ${CMAKE_CURRENT_SOURCE_DIR}/opengldemo/src)
set(OPENGLSTUDY_SRC ${CMAKE_CURRENT_SOURCE_DIR}/openglstudy/src)
set(OSGDEMO_SRC ${CMAKE_CURRENT_SOURCE_DIR}/osgdemo/src)
add_subdirectory_if_exist(opengldemo)
add_subdirectory_if_exist(openglstudy)
# add_subdirectory_if_exist(osgdemo)
add_subdirectory_if_exist(opengldemo1)
add_subdirectory_if_exist(vtkdemo)
add_subdirectory_if_exist(tools)
add_subdirectory_if_exist(pclrecognitiondemo)
add_subdirectory_if_exist(qtdemo)
add_subdirectory_if_exist(qtopengltexture)
add_subdirectory_if_exist(qtopengl_flashlight)
add_subdirectory_if_exist(qtopengl_mulitlight)
add_subdirectory_if_exist(qtglwidgetdemo)
add_subdirectory_if_exist(qtglesdemo)
add_subdirectory_if_exist(qttest)