Skip to content

Commit

Permalink
Update cppan build for new include file structure
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Weil <sw@weilnetz.de>
  • Loading branch information
stweil committed Oct 29, 2019
1 parent e3e7a9b commit 6a3df91
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions cppan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ projects:
type: lib
export_all_symbols: true
files:
- src/api/version.h.in
- include/tesseract/version.h.in
- src/api/.*\.cpp
- src/arch/.*\.cpp
- src/ccmain/.*\.cpp
Expand All @@ -51,7 +51,6 @@ projects:
- src/viewer/.*\.cpp
- src/wordrec/.*\.cpp

- src/api/.*\.h
- src/arch/.*\.h
- src/ccmain/.*\.h
- src/ccstruct/.*\.h
Expand Down Expand Up @@ -83,7 +82,7 @@ projects:
- src/viewer
- src/wordrec
#public:
- src/api
- include
- src/ccmain
- src/ccstruct
- src/ccutil
Expand Down Expand Up @@ -118,7 +117,7 @@ projects:
post_sources: |
configure_file(
${SDIR}/src/api/version.h.in
${SDIR}/include/tesseract/version.h.in
${BDIR}/version.h @ONLY)
if (WIN32)
if (MSVC)
Expand Down

0 comments on commit 6a3df91

Please sign in to comment.