Turn on silent building for CIs with cppan.

This commit is contained in:
Egor Pugin 2016-12-15 16:04:18 +03:00
parent 9f763e5466
commit dd91c1e479
4 changed files with 8 additions and 5 deletions

2
.gitignore vendored
View File

@ -74,5 +74,7 @@ kernel*.bin
# build dirs
/build*
/.cppan
/cppan
/*.dll
/win*

View File

@ -46,7 +46,7 @@ set(VERSION_PLAIN ${VERSION_MAJOR}.${VERSION_MINOR})
set(MINIMUM_LEPTONICA_VERSION 1.71)
if(NOT EXISTS ${PROJECT_SOURCE_DIR}/cppan)
if(NOT EXISTS ${PROJECT_SOURCE_DIR}/.cppan)
if (NOT Leptonica_DIR AND NOT MSVC)
find_package(PkgConfig REQUIRED)
pkg_check_modules(Leptonica REQUIRED lept)
@ -54,7 +54,7 @@ if(NOT EXISTS ${PROJECT_SOURCE_DIR}/cppan)
find_package(Leptonica ${MINIMUM_LEPTONICA_VERSION} REQUIRED CONFIG)
endif()
else()
add_subdirectory(cppan)
add_subdirectory(.cppan)
endif()
find_package(OpenCL QUIET)

View File

@ -12,11 +12,13 @@ before_build:
- if %platform%==Win64 set generator=Visual Studio 14 Win64
- if %platform%==Win32 set vcplatform=Win32
- if %platform%==Win64 set vcplatform=x64
- curl -fsS -o cppan.zip https://cppan.org/client/cppan-master-Windows-client.zip
- 7z x cppan.zip
- set PATH=%PATH%;%cd%
- echo build_system_verbose: false>> %USERPROFILE%/.cppan/cppan.yml
build_script:
- cppan
- mkdir build

View File

@ -1,5 +1,4 @@
local_settings:
cppan_dir: cppan
use_shared_libs: true
type: library