Skip to content

Commit

Permalink
cmake overhaul, cleaned up readme, added license
Browse files Browse the repository at this point in the history
  • Loading branch information
jgoppert committed Sep 30, 2011
1 parent 7f5f925 commit c85d6b0
Show file tree
Hide file tree
Showing 3 changed files with 722 additions and 7 deletions.
36 changes: 29 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ if( NOT DEFINED CMAKE_BUILD_TYPE )
set( CMAKE_BUILD_TYPE "RelWithDebInfo" )
endif()

#set (CMAKE_CXX_SOURCE_FILE_EXTENSIONS pde)

find_package(Arduino 22 REQUIRED)

Expand All @@ -30,15 +29,38 @@ if (NOT DEFINED BOARD)
endif()
message(STATUS "Board configured as: ${BOARD}")

set (CMAKE_CXX_SOURCE_FILE_EXTENSIONS pde)

# apo
set(apo_ASFLAGS "-assembler-with-cpp")
#set(apo_ASFLAGS "-assembler-with-cpp")
set(apo_BOARD ${BOARD})
set(apo_LIBS
c
m)
set(apo_SRCS
apo/apo.cpp
)

set(GCS_MAVLink_RECURSE False)
generate_arduino_firmware(apo)

# ArduRover
set(ArduRover_BOARD ${BOARD})
set(ArduRover_SRCS
ArduRover/ArduRover.pde
)
#generate_arduino_firmware(ArduRover)

# ArduBoat
set(ArduRover_BOARD ${BOARD})
set(ArduRover_SRCS
ArduRover/ArduRover.pde
)
#generate_arduino_firmware(ArduBoat)

# ArduPlane
set(ArduPlane ${BOARD})
set(ArduPlane_SRCS
)
#generate_arduino_firmware(ArduPlane)

# ArduCopter
set(ArduCopter ${BOARD})
set(ArduCopter_SRCS
)
#generate_arduino_firmware(ArduCopter)
Loading

0 comments on commit c85d6b0

Please sign in to comment.