Skip to content

Commit

Permalink
add bot2 frames
Browse files Browse the repository at this point in the history
  • Loading branch information
mauricefallon committed Aug 10, 2016
1 parent 1ba59ba commit 142c7ef
Show file tree
Hide file tree
Showing 9 changed files with 1,121 additions and 0 deletions.
13 changes: 13 additions & 0 deletions bot2-frames_cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
cmake_minimum_required(VERSION 2.6.0)

# pull in the pods macros. See cmake/pods.cmake for documentation
set(POD_NAME bot2-frames_cpp)
include(cmake/pods.cmake)

# automatically build LCM types. This also defines a number of CMake
# variables, see cmake/lcmtypes.cmake for details
include(cmake/lcmtypes.cmake)
lcmtypes_build()

# dehann:
add_subdirectory(src/bot_frames_cpp)
49 changes: 49 additions & 0 deletions bot2-frames_cpp/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Default makefile distributed with pods version: 12.01.11

default_target: all

# Default to a less-verbose build. If you want all the gory compiler output,
# run "make VERBOSE=1"
$(VERBOSE).SILENT:

# Figure out where to build the software.
# Use BUILD_PREFIX if it was passed in.
# If not, search up to four parent directories for a 'build' directory.
# Otherwise, use ./build.
ifeq "$(BUILD_PREFIX)" ""
BUILD_PREFIX:=$(shell for pfx in ./ .. ../.. ../../.. ../../../..; do d=`pwd`/$$pfx/build;\
if [ -d $$d ]; then echo $$d; exit 0; fi; done; echo `pwd`/build)
endif
# create the build directory if needed, and normalize its path name
BUILD_PREFIX:=$(shell mkdir -p $(BUILD_PREFIX) && cd $(BUILD_PREFIX) && echo `pwd`)

# Default to a release build. If you want to enable debugging flags, run
# "make BUILD_TYPE=Debug"
ifeq "$(BUILD_TYPE)" ""
BUILD_TYPE="Release"
endif

all: pod-build/Makefile
$(MAKE) -C pod-build all install

pod-build/Makefile:
$(MAKE) configure

.PHONY: configure
configure:
@echo "\nBUILD_PREFIX: $(BUILD_PREFIX)\n\n"

# create the temporary build directory if needed
@mkdir -p pod-build

# run CMake to generate and configure the build scripts
@cd pod-build && cmake -DCMAKE_INSTALL_PREFIX=$(BUILD_PREFIX) \
-DCMAKE_BUILD_TYPE=$(BUILD_TYPE) ..

clean:
-if [ -e pod-build/install_manifest.txt ]; then rm -f `cat pod-build/install_manifest.txt`; fi
-if [ -d pod-build ]; then $(MAKE) -C pod-build clean; rm -rf pod-build; fi

# other (custom) targets are passed through to the cmake-generated Makefile
%::
$(MAKE) -C pod-build $@
20 changes: 20 additions & 0 deletions bot2-frames_cpp/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
This is a default README file, please replace its contents with information
relevant to your project.

This software is constructed according to the Pods software policies and
templates. The policies and templates can be found at:

http://sourceforge.net/projects/pods

====

Name: motion_estimate
Maintainers: FILL-ME-IN
Summary: FILL-ME-IN
Description:
FILL-ME-IN

Requirements:
FILL-ME-IN

License: FILL-ME-IN
Loading

0 comments on commit 142c7ef

Please sign in to comment.