Skip to content

Commit dd91c1e

Browse files
committed
Turn on silent building for CIs with cppan.
1 parent 9f763e5 commit dd91c1e

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,7 @@ kernel*.bin
7474

7575
# build dirs
7676
/build*
77+
/.cppan
7778
/cppan
79+
/*.dll
7880
/win*

CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,15 @@ set(VERSION_PLAIN ${VERSION_MAJOR}.${VERSION_MINOR})
4646

4747
set(MINIMUM_LEPTONICA_VERSION 1.71)
4848

49-
if(NOT EXISTS ${PROJECT_SOURCE_DIR}/cppan)
49+
if(NOT EXISTS ${PROJECT_SOURCE_DIR}/.cppan)
5050
if (NOT Leptonica_DIR AND NOT MSVC)
5151
find_package(PkgConfig REQUIRED)
5252
pkg_check_modules(Leptonica REQUIRED lept)
5353
else()
5454
find_package(Leptonica ${MINIMUM_LEPTONICA_VERSION} REQUIRED CONFIG)
5555
endif()
5656
else()
57-
add_subdirectory(cppan)
57+
add_subdirectory(.cppan)
5858
endif()
5959

6060
find_package(OpenCL QUIET)

appveyor.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,13 @@ before_build:
1212
- if %platform%==Win64 set generator=Visual Studio 14 Win64
1313
- if %platform%==Win32 set vcplatform=Win32
1414
- if %platform%==Win64 set vcplatform=x64
15-
15+
1616
- curl -fsS -o cppan.zip https://cppan.org/client/cppan-master-Windows-client.zip
1717
- 7z x cppan.zip
1818
- set PATH=%PATH%;%cd%
19-
19+
20+
- echo build_system_verbose: false>> %USERPROFILE%/.cppan/cppan.yml
21+
2022
build_script:
2123
- cppan
2224
- mkdir build

cppan.yml

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
local_settings:
2-
cppan_dir: cppan
32
use_shared_libs: true
43

54
type: library

0 commit comments

Comments
 (0)