File tree 5 files changed +34
-0
lines changed
5 files changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ language : cpp
2
+ sudo : required
3
+ dist : bionic
4
+ compiler :
5
+ - clang
6
+ - gcc
7
+ os :
8
+ - linux
9
+
10
+ install :
11
+ - cd ~
12
+ - git clone https://github.com/google/googletest.git gtest
13
+ - cd gtest
14
+ - git checkout release-1.8.1
15
+ - cmake .
16
+ - make install DESTDIR=~/.local -j
17
+
18
+ script :
19
+ - cd ~/build/flipback/EIPScanner/
20
+ - cmake -DTEST_ENABLED=ON -DEXAMPLE_ENABLED=ON -DGTEST_ROOT=/home/travis/.local/usr/local/ -DGMOCK_ROOT=/home/travis/.local/usr/local/ .
21
+ - cmake --build .
22
+ - test/test_eipscanner
Original file line number Diff line number Diff line change
1
+ # Release 1.0.0 (2019-12-08)
2
+
3
+ Initial release
4
+
Original file line number Diff line number Diff line change @@ -9,6 +9,9 @@ Free implementation of Ethernet/IP scanner in C++
9
9
* File Object (only upload)
10
10
* Parameter Object
11
11
12
+ [ ![ Build Status] ( https://travis-ci.com/flipback/EIPScanner.svg?branch=master )] ( https://travis-ci.com/flipback/EIPScanner )
13
+ ![ GitHub release (latest by date)] ( https://img.shields.io/github/v/release/flipback/EIPScanner )
14
+
12
15
## Requirements
13
16
14
17
* CMake 3.5 and higher
Original file line number Diff line number Diff line change 5
5
#ifndef EIPSCANNER_FILEOBJECT_FILEOBJECTSTATE_H
6
6
#define EIPSCANNER_FILEOBJECT_FILEOBJECTSTATE_H
7
7
8
+ #include < memory>
8
9
#include " SessionInfo.h"
9
10
#include " MessageRouter.h"
10
11
#include " FileObject.h"
Original file line number Diff line number Diff line change @@ -26,6 +26,10 @@ add_executable(test_eipscanner
26
26
)
27
27
message (STATUS ${GTEST_BOTH_LIBRARIES} )
28
28
message (STATUS ${GMOCK_BOTH_LIBRARIES} )
29
+
30
+ include_directories (${GTEST_INCLUDE_DIRS} )
31
+ include_directories (${GMOCK_INCLUDE_DIRS} )
32
+
29
33
target_link_libraries (test_eipscanner
30
34
${GTEST_BOTH_LIBRARIES}
31
35
${GMOCK_BOTH_LIBRARIES}
You can’t perform that action at this time.
0 commit comments