Skip to content

Commit dae9039

Browse files
committed
Add initial CPPAN project info.
1 parent 553c069 commit dae9039

File tree

1 file changed

+111
-1
lines changed

1 file changed

+111
-1
lines changed

cppan.yml

+111-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,112 @@
1+
files:
2+
- api/.*\.cpp
3+
- ccmain/.*\.cpp
4+
- ccstruct/.*\.cpp
5+
- ccutil/.*\.cpp
6+
- classify/.*\.cpp
7+
- cube/.*\.cpp
8+
- cutil/.*\.cpp
9+
- dict/.*\.cpp
10+
- neural_networks/runtime/.*\.cpp
11+
- opencl/.*\.cpp
12+
- textord/.*\.cpp
13+
- viewer/.*\.cpp
14+
- wordrec/.*\.cpp
15+
16+
- api/.*\.h
17+
- ccmain/.*\.h
18+
- ccstruct/.*\.h
19+
- ccutil/.*\.h
20+
- classify/.*\.h
21+
- cube/.*\.h
22+
- cutil/.*\.h
23+
- dict/.*\.h
24+
- neural_networks/runtime/.*\.h
25+
- opencl/.*\.h
26+
- textord/.*\.h
27+
- viewer/.*\.h
28+
- wordrec/.*\.h
29+
30+
- vs2010/port/.*
31+
32+
include_directories:
33+
private:
34+
- classify
35+
- cube
36+
- cutil
37+
- dict
38+
- neural_networks/runtime
39+
- opencl
40+
- textord
41+
- vs2010/port
42+
- viewer
43+
- wordrec
44+
public:
45+
- api
46+
- ccmain
47+
- ccstruct
48+
- ccutil
49+
50+
check_function_exists:
51+
- getline
52+
- snprintf
53+
54+
check_include_exists:
55+
- dlfcn.h
56+
- inttypes.h
57+
- limits.h
58+
- malloc.h
59+
- memory.h
60+
- stdbool.h
61+
- stdint.h
62+
- stdlib.h
63+
- strings.h
64+
- string.h
65+
- sys/ipc.h
66+
- sys/shm.h
67+
- sys/stat.h
68+
- sys/types.h
69+
- sys/wait.h
70+
- tiffio.h
71+
- unistd.h
72+
- cairo/cairo-version.h
73+
- CL/cl.h
74+
- OpenCL/cl.h
75+
- pango-1.0/pango/pango-features.h
76+
- unicode/uchar.h
77+
78+
check_type_size:
79+
- long long int
80+
- off_t
81+
- mbstate_t
82+
- wchar_t
83+
- _Bool
84+
85+
pre_sources: |
86+
# dummy config file
87+
if (NOT EXISTS ${CMAKE_CURRENT_BINARY_DIR}/config_auto.h)
88+
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/config_auto.h)
89+
endif()
90+
91+
post_sources: |
92+
if (NOT WIN32)
93+
list(REMOVE_ITEM src "${CMAKE_CURRENT_SOURCE_DIR}/vs2010/port/gettimeofday.cpp")
94+
list(REMOVE_ITEM src "${CMAKE_CURRENT_SOURCE_DIR}/vs2010/port/gettimeofday.h")
95+
list(REMOVE_ITEM src "${CMAKE_CURRENT_SOURCE_DIR}/vs2010/port/mathfix.h")
96+
list(REMOVE_ITEM src "${CMAKE_CURRENT_SOURCE_DIR}/vs2010/port/strcasestr.cpp")
97+
list(REMOVE_ITEM src "${CMAKE_CURRENT_SOURCE_DIR}/vs2010/port/strcasestr.h")
98+
list(REMOVE_ITEM src "${CMAKE_CURRENT_SOURCE_DIR}/vs2010/port/strtok_r.cpp")
99+
list(REMOVE_ITEM src "${CMAKE_CURRENT_SOURCE_DIR}/vs2010/port/strtok_r.h")
100+
list(REMOVE_ITEM src "${CMAKE_CURRENT_SOURCE_DIR}/vs2010/port/vcsversion.h")
101+
endif()
102+
103+
options:
104+
any:
105+
definitions:
106+
private: HAVE_CONFIG_H
107+
public: _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS=1
108+
public: USE_STD_NAMESPACE=1
109+
public: WINDLLNAME="tesseract"
110+
1111
dependencies:
2-
pvt.cppan.demo.leptonica: master
112+
pvt.cppan.demo.leptonica: master

0 commit comments

Comments
 (0)