-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
111 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,112 @@ | ||
files: | ||
- api/.*\.cpp | ||
- ccmain/.*\.cpp | ||
- ccstruct/.*\.cpp | ||
- ccutil/.*\.cpp | ||
- classify/.*\.cpp | ||
- cube/.*\.cpp | ||
- cutil/.*\.cpp | ||
- dict/.*\.cpp | ||
- neural_networks/runtime/.*\.cpp | ||
- opencl/.*\.cpp | ||
- textord/.*\.cpp | ||
- viewer/.*\.cpp | ||
- wordrec/.*\.cpp | ||
|
||
- api/.*\.h | ||
- ccmain/.*\.h | ||
- ccstruct/.*\.h | ||
- ccutil/.*\.h | ||
- classify/.*\.h | ||
- cube/.*\.h | ||
- cutil/.*\.h | ||
- dict/.*\.h | ||
- neural_networks/runtime/.*\.h | ||
- opencl/.*\.h | ||
- textord/.*\.h | ||
- viewer/.*\.h | ||
- wordrec/.*\.h | ||
|
||
- vs2010/port/.* | ||
|
||
include_directories: | ||
private: | ||
- classify | ||
- cube | ||
- cutil | ||
- dict | ||
- neural_networks/runtime | ||
- opencl | ||
- textord | ||
- vs2010/port | ||
- viewer | ||
- wordrec | ||
public: | ||
- api | ||
- ccmain | ||
- ccstruct | ||
- ccutil | ||
|
||
check_function_exists: | ||
- getline | ||
- snprintf | ||
|
||
check_include_exists: | ||
- dlfcn.h | ||
- inttypes.h | ||
- limits.h | ||
- malloc.h | ||
- memory.h | ||
- stdbool.h | ||
- stdint.h | ||
- stdlib.h | ||
- strings.h | ||
- string.h | ||
- sys/ipc.h | ||
- sys/shm.h | ||
- sys/stat.h | ||
- sys/types.h | ||
- sys/wait.h | ||
- tiffio.h | ||
- unistd.h | ||
- cairo/cairo-version.h | ||
- CL/cl.h | ||
- OpenCL/cl.h | ||
- pango-1.0/pango/pango-features.h | ||
- unicode/uchar.h | ||
|
||
check_type_size: | ||
- long long int | ||
- off_t | ||
- mbstate_t | ||
- wchar_t | ||
- _Bool | ||
|
||
pre_sources: | | ||
# dummy config file | ||
if (NOT EXISTS ${CMAKE_CURRENT_BINARY_DIR}/config_auto.h) | ||
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/config_auto.h) | ||
endif() | ||
post_sources: | | ||
if (NOT WIN32) | ||
list(REMOVE_ITEM src "${CMAKE_CURRENT_SOURCE_DIR}/vs2010/port/gettimeofday.cpp") | ||
list(REMOVE_ITEM src "${CMAKE_CURRENT_SOURCE_DIR}/vs2010/port/gettimeofday.h") | ||
list(REMOVE_ITEM src "${CMAKE_CURRENT_SOURCE_DIR}/vs2010/port/mathfix.h") | ||
list(REMOVE_ITEM src "${CMAKE_CURRENT_SOURCE_DIR}/vs2010/port/strcasestr.cpp") | ||
list(REMOVE_ITEM src "${CMAKE_CURRENT_SOURCE_DIR}/vs2010/port/strcasestr.h") | ||
list(REMOVE_ITEM src "${CMAKE_CURRENT_SOURCE_DIR}/vs2010/port/strtok_r.cpp") | ||
list(REMOVE_ITEM src "${CMAKE_CURRENT_SOURCE_DIR}/vs2010/port/strtok_r.h") | ||
list(REMOVE_ITEM src "${CMAKE_CURRENT_SOURCE_DIR}/vs2010/port/vcsversion.h") | ||
endif() | ||
options: | ||
any: | ||
definitions: | ||
private: HAVE_CONFIG_H | ||
public: _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS=1 | ||
public: USE_STD_NAMESPACE=1 | ||
public: WINDLLNAME="tesseract" | ||
|
||
dependencies: | ||
pvt.cppan.demo.leptonica: master | ||
pvt.cppan.demo.leptonica: master |
dae9039
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @egorpugin, wouldn't these lines cause YAML error?
The error resulting will be below:
See a live example at URI:
http://nodeca.github.io/js-yaml/#yaml=ICAgICAgICBkZWZpbml0aW9uczoKICAgICAgICAgICAgcHJpdmF0ZTogSEFWRV9DT05GSUdfSAogICAgICAgICAgICBwdWJsaWM6IF9TSUxFTkNFX1NUREVYVF9IQVNIX0RFUFJFQ0FUSU9OX1dBUk5JTkdTPTEKICAgICAgICAgICAgcHVibGljOiBVU0VfU1REX05BTUVTUEFDRT0xCiAgICAgICAgICAgIHB1YmxpYzogV0lORExMTkFNRT0idGVzc2VyYWN0Ig==
dae9039
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point, thanks! I'll fix it.
dae9039
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed. Please, re-download cppan client.
If you're on windows, you can try to run 'cppan --self-upgrade'. This work only if your client is new enough (downloaded today). Check 'cppan -h' for more info.