Skip to content

Commit 491e9f5

Browse files
author
Kirill Kornyakov
committed
Merge pull request #1 from valentina-kustikova/master
The infrastructure of the second practice
2 parents 4cbb4a3 + c2efef2 commit 491e9f5

16 files changed

+29972
-1
lines changed

.travis.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
language: cpp
2+
compiler:
3+
- gcc
4+
- clang
5+
before_install: sudo apt-get update -qq
6+
install:
7+
- sudo apt-get install -qq libopencv-dev
8+
before_script:
9+
- mkdir ./build
10+
- cd ./build
11+
script:
12+
- cmake -DCMAKE_BUILD_TYPE=Debug ..
13+
- make -j
14+
- cd ./bin
15+
- ./practice2_test
16+
notifications:
17+
email: false

3rdparty/CMakeLists.txt

Lines changed: 12 additions & 0 deletions
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})

0 commit comments

Comments
 (0)