Skip to content
Snippets Groups Projects
Commit 92adb420 authored by Ken Tossell's avatar Ken Tossell
Browse files

add BUILD_TYPE=Release|Debug; don't erase git checkout on make-clean

parent f16789c6
No related branches found
No related tags found
No related merge requests found
#include $(shell rospack find mk)/cmake.mk #include $(shell rospack find mk)/cmake.mk
.PHONY: clean download .PHONY: clean download
BUILD_TYPE?=Release
CMAKE=cmake CMAKE=cmake
CMAKE_ARGS=-DCMAKE_BUILD_TYPE=Release \ CMAKE_ARGS=-DCMAKE_BUILD_TYPE=${BUILD_TYPE} \
-DCMAKE_INSTALL_PREFIX=`rospack find libuvc`/libuvc -DCMAKE_INSTALL_PREFIX=`rospack find libuvc`/libuvc
all: all:
...@@ -19,5 +20,5 @@ all: ...@@ -19,5 +20,5 @@ all:
fi fi
clean: clean:
rm -rf build libuvc rm -rf build/build libuvc
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment