reflow/CMakeLists.txt

30 lines
1.2 KiB
CMake
Raw Permalink Normal View History

2012-10-01 19:03:30 +00:00
#=============================================================================#
# Author: QueezyTheGreat #
# Date: 26.04.2011 #
# #
# Description: Arduino CMake example #
# #
#=============================================================================#
2012-10-02 11:08:00 +00:00
set(CMAKE_TOOLCHAIN_FILE cmake/ArduinoToolchain.cmake) # Arduino Toolchain
2012-10-01 19:03:30 +00:00
cmake_minimum_required(VERSION 2.8.5)
project(ReflowCtl C CXX)
2012-10-21 11:47:44 +00:00
set(ARDUINO_DEFAULT_BOARD atmega328) # Default Board ID, when not specified
2012-10-01 19:03:30 +00:00
set(ARDUINO_DEFAULT_PORT /dev/ttyUSB0) # Default Port, when not specified
2012-10-20 13:02:25 +00:00
link_directories(/usr/share/arduino/libraries)
2012-11-10 14:27:43 +00:00
#
# generate_arduino_library(reflowctl_lib
# SRCS oven_control.cpp profile.cpp
# HDRS oven_control.h profile.h
# BOARD atmega328)
2012-10-20 13:02:25 +00:00
2012-10-01 19:03:30 +00:00
generate_arduino_firmware(reflowctl
2012-11-10 14:27:43 +00:00
SRCS oven_control.cpp profile.cpp main.cpp
HDRS oven_control.h profile.h
2012-10-01 19:03:30 +00:00
PORT /dev/ttyUSB0
2012-10-21 11:47:44 +00:00
BOARD atmega328)