ardupilot/ArduPlane/CMakeLists.txt

19 lines
529 B
CMake
Raw Normal View History

set(CMAKE_TOOLCHAIN_FILE ../cmake/ArduinoToolchain.cmake) # Arduino Toolchain
2012-04-17 22:31:10 -03:00
cmake_minimum_required(VERSION 2.8)
project(ArduPlane C CXX)
2012-04-17 22:31:10 -03:00
set(PROJECT_VERSION_MAJOR "2")
set(PROJECT_VERSION_MINOR "3")
set(PROJECT_VERSION_PATCH "3")
set(PROJECT_VERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}")
set(PROJECT_DESCRIPTION "ArduPilotMega based Airplane Autopilot.")
2012-04-17 22:31:10 -03:00
# macro path
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/../cmake/modules")
# common project setup
include(APMProject)