Skip to content

Commit 459daad

Browse files
author
Kirill Kornyakov
committed
Initial commit
0 parents  commit 459daad

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+70499
-0
lines changed

.gitignore

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Compiled Object files
2+
*.slo
3+
*.lo
4+
*.o
5+
*.obj
6+
*.pyc
7+
8+
# Precompiled Headers
9+
*.gch
10+
*.pch
11+
12+
# Compiled Dynamic libraries
13+
*.so
14+
*.dylib
15+
*.dll
16+
17+
# Fortran module files
18+
*.mod
19+
20+
# Compiled Static libraries
21+
*.lai
22+
*.la
23+
*.a
24+
*.lib
25+
26+
# Executables
27+
*.exe
28+
*.out
29+
*.app

.travis.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
language: cpp
2+
compiler:
3+
- gcc
4+
- clang
5+
sudo: false
6+
addons:
7+
apt:
8+
packages:
9+
- libopencv-dev
10+
before_script:
11+
- mkdir ../build
12+
- cd ../build
13+
script:
14+
- cmake ../itseez-ws-2016-practice
15+
- make
16+
- ./bin/test_skeleton
17+
- ./bin/perf_skeleton --gtest_output=xml:perf_report.xml
18+
- ../itseez-ws-2016-practice/3rdparty/opencv_ptest/misc/summary.py ./perf_report.xml
19+
notifications:
20+
email: false

3rdparty/CMakeLists.txt

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
set(target "gtest")
2+
3+
FILE(GLOB hdrs "gtest/*.h")
4+
FILE(GLOB srcs "gtest/*.cc")
5+
6+
ADD_LIBRARY(${target} STATIC ${srcs})
7+
8+
# FIXME: update this check (Kirill Kornyakov)
9+
# if((CXX_GCC OR CXX_CLANG) AND (${CMAKE_SYSTEM_NAME} MATCHES "Linux"))
10+
set(Pthread "-pthread")
11+
# endif()
12+
TARGET_LINK_LIBRARIES(${target} ${Pthread})

3rdparty/gtest/CMakeLists.txt

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
set(target "gtest")
2+
3+
file(GLOB hdrs "*.h")
4+
file(GLOB srcs "*.cc")
5+
6+
add_library(${target} STATIC ${srcs})
7+
8+
if((CXX_GCC OR CXX_CLANG) AND (${CMAKE_SYSTEM_NAME} MATCHES "Linux"))
9+
set(Pthread "-pthread")
10+
endif()
11+
target_link_libraries(${target} ${Pthread})

0 commit comments

Comments
 (0)