Skip to content

Commit

Permalink
Turn on silent building for CIs with cppan.
Browse files Browse the repository at this point in the history
  • Loading branch information
egorpugin committed Dec 15, 2016
1 parent 9f763e5 commit dd91c1e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,7 @@ kernel*.bin

# build dirs
/build*
/.cppan
/cppan
/*.dll
/win*
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ 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)
else()
find_package(Leptonica ${MINIMUM_LEPTONICA_VERSION} REQUIRED CONFIG)
endif()
else()
add_subdirectory(cppan)
add_subdirectory(.cppan)
endif()

find_package(OpenCL QUIET)
Expand Down
6 changes: 4 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion cppan.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
local_settings:
cppan_dir: cppan
use_shared_libs: true

type: library
Expand Down

0 comments on commit dd91c1e

Please sign in to comment.