File tree 3 files changed +11
-1
lines changed
3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 1
1
* ~
2
2
/CMakeLists.txt.user
3
+ build *
Original file line number Diff line number Diff line change @@ -23,6 +23,15 @@ matrix:
23
23
24
24
before_install :
25
25
- 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
26
35
27
36
install :
28
37
- 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)
3
3
4
4
set (CMAKE_BUILD_TYPE Release)
5
5
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" )
7
7
8
8
#############################################################
9
9
# http://answers.ros.org/question/230877/optionally-build-a-package-with-catkin/
You can’t perform that action at this time.
0 commit comments