Skip to content

Commit

Permalink
Added building for test program, needs to be updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgoppert committed Feb 15, 2012
1 parent 74828f9 commit 20c7f9c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
*~
tags
doc/html
doc/*.log
missionlib/testing/*.xcodeproj/*
Expand Down
9 changes: 9 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,15 @@ set(v1.0Definitions
)
generateMavlink("v1.0" "${v1.0Definitions}")

# testing
if (BUILD_TEST)
if (UNIX)
include_directories(${CMAKE_CURRENT_BINARY_DIR}/include/v0.9/common)
# TODO fix udp example
#add_executable(mavlink_udp examples/linux/mavlink_udp.c)
endif()
endif()

# install files
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/include/ DESTINATION include/${PROJECT_NAME} FILES_MATCHING PATTERN "*.h")

Expand Down

0 comments on commit 20c7f9c

Please sign in to comment.