Revision: 8678
http://playerstage.svn.sourceforge.net/playerstage/?rev=8678&view=rev
Author: hsujohnhsu
Date: 2010-05-13 23:07:53 +0000 (Thu, 13 May 2010)
Log Message:
-----------
specify libgazebo and boost directories
Modified Paths:
--------------
code/gazebo/trunk/tools/CMakeLists.txt
Modified: code/gazebo/trunk/tools/CMakeLists.txt
===================================================================
--- code/gazebo/trunk/tools/CMakeLists.txt 2010-05-13 20:29:21 UTC (rev
8677)
+++ code/gazebo/trunk/tools/CMakeLists.txt 2010-05-13 23:07:53 UTC (rev
8678)
@@ -1,7 +1,19 @@
+INCLUDE (${gazebo_cmake_dir}/GazeboUtils.cmake)
+STRING (REPLACE " " ";" boost_include_dirs_split "${boost_include_dirs}")
+STRING (REPLACE " " ";" boost_library_dirs_split "${boost_library_dirs}")
-link_directories(../libgazebo)
-include_directories(../libgazebo)
+INCLUDE_DIRECTORIES(
+ .
+ ${CMAKE_SOURCE_DIR}/libgazebo
+ ${boost_include_dirs_split}
+)
+LINK_DIRECTORIES(
+ ${CMAKE_BINARY_DIR}/libgazebo
+ ${boost_library_dirs_split}
+)
+
+
set (sources gazebomodel.cc gazebobody.cc Toolbase.cc)
set_source_files_properties(${sources} PROPERTIES COMPILE_FLAGS "-ggdb -g2
-Wall")
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit