OpenDroneMap-ODM/CMakeLists.txt

19 wiersze
547 B
CMake
Czysty Zwykły widok Historia

cmake_minimum_required(VERSION 2.8)
2015-11-09 23:24:57 +00:00
2015-11-16 14:52:25 +00:00
project(OpenDroneMap C CXX)
2015-11-09 23:24:57 +00:00
2015-11-16 14:52:25 +00:00
# TODO(edgar): add option in order to point to CMAKE_PREFIX_PATH
# if we want to build SuperBuild in an external directory.
# It is assumed that SuperBuild have been compiled.
2015-11-09 23:24:57 +00:00
2015-11-16 14:52:25 +00:00
# Set third party libs location
set(CMAKE_PREFIX_PATH "${CMAKE_CURRENT_SOURCE_DIR}/SuperBuild/install")
2015-11-09 23:24:57 +00:00
2015-11-30 15:47:44 +00:00
# move binaries to the same bin directory
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
2016-06-16 08:28:12 +00:00
option(ODM_BUILD_SLAM "Build SLAM module" OFF)
2015-11-16 11:42:21 +00:00
# Add ODM sub-modules
2016-06-16 08:28:12 +00:00
add_subdirectory(modules)