From 16e690d8345f4412dca88bd540d87b2269c902bb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sergi=20Hern=C3=A0ndez=20Juan?= <shernand@iri.upc.edu>
Date: Sun, 19 Feb 2012 17:43:52 +0000
Subject: [PATCH] Initial commit of the segway battery driver.

---
 trunk/src/examples/CMakeLists.txt | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/trunk/src/examples/CMakeLists.txt b/trunk/src/examples/CMakeLists.txt
index 4e01fdd..48bc0bb 100644
--- a/trunk/src/examples/CMakeLists.txt
+++ b/trunk/src/examples/CMakeLists.txt
@@ -4,3 +4,8 @@ ADD_EXECUTABLE(test_usb_i2c test_usb_i2c.cpp)
 # edit the following line to add the necessary libraries
 TARGET_LINK_LIBRARIES(test_usb_i2c usb_i2c_adapter ${iriutils_LIBRARY} ${comm_LIBRARY})
 
+# edit the following line to add the source code for the example and the name of the executable
+ADD_EXECUTABLE(test_battery battery_test.cpp)
+
+# edit the following line to add the necessary libraries
+TARGET_LINK_LIBRARIES(test_battery usb_i2c_adapter ${iriutils_LIBRARY} ${comm_LIBRARY})
-- 
GitLab