-
Notifications
You must be signed in to change notification settings - Fork 2
/
CMakeLists.txt
40 lines (29 loc) · 1.3 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
# Copyright Matthew Leotta 2006 - 2010.
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
cmake_minimum_required(VERSION 2.8)
project(vehicle)
find_package(VXL REQUIRED)
set(RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}/bin)
set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/lib)
set(DOCUMENTATION_OUTPUT_PATH ${CMAKE_BINARY_DIR}/doc)
set(EXECUTABLE_INSTALL_PATH ${CMAKE_INSTALL_PREFIX}/${PREFIX}/bin/)
set(INCLUDE_INSTALL_PATH ${CMAKE_INSTALL_PREFIX}/${PREFIX}/include/)
set(LIBRARY_INSTALL_PATH ${CMAKE_INSTALL_PREFIX}/${PREFIX}/lib${LIB_SUFFIX}/${CMAKE_PROJECT_NAME}/)
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
if(VXL_FOUND)
# include the standard stuff
set(VXL_PROVIDE_STANDARD_OPTIONS 1)
include(${VXL_CMAKE_DIR}/UseVXL.cmake)
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
include_directories(${CMAKE_CURRENT_BINARY_DIR})
include_directories(SYSTEM ${VXL_BRL_INCLUDE_DIR})
include_directories(SYSTEM ${VXL_GEL_INCLUDE_DIR}/mrc)
add_subdirectory(spl)
add_subdirectory(klt)
add_subdirectory(dml)
add_subdirectory(cmd)
add_subdirectory(gui)
endif(VXL_FOUND)