Revision: 8729
          http://playerstage.svn.sourceforge.net/playerstage/?rev=8729&view=rev
Author:   hsujohnhsu
Date:     2010-05-28 23:15:59 +0000 (Fri, 28 May 2010)

Log Message:
-----------
so benchmarks compiles according to boost flags passed in

Modified Paths:
--------------
    code/gazebo/trunk/benchmarks/CMakeLists.txt

Modified: code/gazebo/trunk/benchmarks/CMakeLists.txt
===================================================================
--- code/gazebo/trunk/benchmarks/CMakeLists.txt 2010-05-28 23:08:03 UTC (rev 
8728)
+++ code/gazebo/trunk/benchmarks/CMakeLists.txt 2010-05-28 23:15:59 UTC (rev 
8729)
@@ -1,5 +1,16 @@
 project(benchmarks)
+INCLUDE (${gazebo_cmake_dir}/GazeboUtils.cmake)
+STRING (REPLACE " " ";" boost_include_dirs_split "${boost_include_dirs}")
+STRING (REPLACE " " ";" boost_library_dirs_split "${boost_library_dirs}")
 
+INCLUDE_DIRECTORIES(
+  .
+  ${CMAKE_SOURCE_DIR}/libgazebo
+  ${LINK_DIRS}
+  ${boost_include_dirs_split}
+)
+
+
 cmake_minimum_required( VERSION 2.4 FATAL_ERROR )
 
 if(COMMAND cmake_policy)
@@ -17,10 +28,7 @@
 # endif (PKG_CONFIG_FOUND)
 
 link_directories(../libgazebo ${INCLUDE_DIRS})
-include_directories(../libgazebo ${LINK_DIRS})
 
-include_directories(.)
-
 set (sources laser_benchmark.cc 
              box_grid_benchmark.cc 
              box_pile_benchmark.cc 


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

Reply via email to