File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed
Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 11* ~
22/CMakeLists.txt.user
3+ build *
Original file line number Diff line number Diff line change @@ -23,6 +23,15 @@ matrix:
2323
2424before_install :
2525 - sudo apt-get update && sudo apt-get --reinstall install -qq build-essential
26+ # see motivation here https://www.eriksmistad.no/getting-started-with-google-test-on-ubuntu/
27+ - sudo apt-get --reinstall install -qq libgtest-dev cmake
28+ - cd /usr/src/gtest
29+ - sudo cmake CMakeLists.txt
30+ - sudo make
31+ - sudo cp *.a /usr/lib
32+
33+ # copy or symlink libgtest.a and libgtest_main.a to your /usr/lib folder
34+ sudo cp *.a /usr/lib
2635
2736install :
2837 - if [ "$ROS_DISTRO" != "none" ]; then git clone https://github.com/ros-industrial/industrial_ci.git .ci_config; fi
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ project(behavior_tree_core)
33
44set (CMAKE_BUILD_TYPE Release)
55
6- set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=c++11 -Werror=return-type" )
6+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=c++11 -pthread - Werror=return-type" )
77
88#############################################################
99# http://answers.ros.org/question/230877/optionally-build-a-package-with-catkin/
You can’t perform that action at this time.
0 commit comments