cmake_minimum_required(VERSION 3.6) project(drone) set(CMAKE_CXX_STANDARD 14) set(SOURCE_FILES main.cpp throttle.cpp throttle.h drone.cpp drone.h) add_executable(drone ${SOURCE_FILES})