Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirill Kornyakov committed Aug 19, 2015
0 parents commit cd2ebc9
Show file tree
Hide file tree
Showing 15 changed files with 30,047 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Compiled Object files
*.slo
*.lo
*.o
*.obj

# Precompiled Headers
*.gch
*.pch

# Compiled Dynamic libraries
*.so
*.dylib
*.dll

# Fortran module files
*.mod

# Compiled Static libraries
*.lai
*.la
*.a
*.lib

# Executables
*.exe
*.out
*.app
20 changes: 20 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
language: cpp
compiler:
- gcc
- clang
before_install: sudo apt-get update -qq
install:
- sudo pip install cpp-coveralls
before_script:
- mkdir ./build
- cd ./build
script:
- cmake -DWITH_CODE_COVERAGE=ON -DCMAKE_BUILD_TYPE=Debug ..
- make -j
- cd ./bin/
- ./practice1_test
after_success:
- cd ../
- coveralls --exclude practice1/3rdparty --exclude practice1/test --exclude practice1/samples --exclude practice1/testdata --exclude build/CMakeFiles --exclude build/samples --exclude build/3rdparty --exclude build/bin --exclude build/lib --root ../ --build-root ./
notifications:
email: false
13 changes: 13 additions & 0 deletions 3rdparty/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
set(target "gtest")

FILE(GLOB hdrs "gtest/*.h")
FILE(GLOB srcs "gtest/*.cc")

ADD_LIBRARY(${target} STATIC ${srcs})

if((${CMAKE_CXX_COMPILER_ID} MATCHES "GNU" OR
${CMAKE_CXX_COMPILER_ID} MATCHES "Clang") AND
(${CMAKE_SYSTEM_NAME} MATCHES "Linux"))
set(pthread "-pthread")
endif()
TARGET_LINK_LIBRARIES(${target} ${pthread})
Loading

0 comments on commit cd2ebc9

Please sign in to comment.