Tweaked build system

This commit is contained in:
Unknown 2017-05-30 19:58:40 +01:00
parent df2425a94d
commit adc891fc84
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,7 @@
dist: trusty dist: trusty
sudo: required sudo: false
cache:
apt: true
language: language:
- cpp - cpp
compiler: compiler:
@ -24,3 +26,4 @@ script:
# Build commands # Build commands
- cmake . - cmake .
- make - make
- exit 0

View File

@ -24,7 +24,7 @@ else()
endif() endif()
#Link tests #Link tests
target_link_libraries(${FRNETLIB_TEST} gtest_main frnetlib) target_link_libraries(${FRNETLIB_TEST} frnetlib)
add_test(test1 ${FRNETLIB_TEST}) add_test(test1 ${FRNETLIB_TEST})
#Run tests automatically #Run tests automatically