1
1
local_settings :
2
2
use_shared_libs : true
3
3
# silent: false
4
+ # copy_import_libs: true
5
+ build :
6
+ c_flags : /W0
7
+ cxx_flags : /W0
4
8
5
9
dependencies :
6
10
pvt.cppan.demo.danbloomberg.leptonica : 1
@@ -94,11 +98,6 @@ projects:
94
98
- sys/wait.h
95
99
- tiffio.h
96
100
- unistd.h
97
- - cairo/cairo-version.h
98
- - CL/cl.h
99
- - OpenCL/cl.h
100
- - pango-1.0/pango/pango-features.h
101
- - unicode/uchar.h
102
101
103
102
check_type_size :
104
103
- long long int
@@ -115,14 +114,7 @@ projects:
115
114
116
115
post_sources : |
117
116
if (NOT WIN32)
118
- list(REMOVE_ITEM src "${CMAKE_CURRENT_SOURCE_DIR}/vs2010/port/gettimeofday.cpp")
119
- list(REMOVE_ITEM src "${CMAKE_CURRENT_SOURCE_DIR}/vs2010/port/gettimeofday.h")
120
- list(REMOVE_ITEM src "${CMAKE_CURRENT_SOURCE_DIR}/vs2010/port/mathfix.h")
121
- list(REMOVE_ITEM src "${CMAKE_CURRENT_SOURCE_DIR}/vs2010/port/strcasestr.cpp")
122
- list(REMOVE_ITEM src "${CMAKE_CURRENT_SOURCE_DIR}/vs2010/port/strcasestr.h")
123
- list(REMOVE_ITEM src "${CMAKE_CURRENT_SOURCE_DIR}/vs2010/port/strtok_r.cpp")
124
- list(REMOVE_ITEM src "${CMAKE_CURRENT_SOURCE_DIR}/vs2010/port/strtok_r.h")
125
- list(REMOVE_ITEM src "${CMAKE_CURRENT_SOURCE_DIR}/vs2010/port/vcsversion.h")
117
+ remove_src_dir(vs2010/port/*)
126
118
endif()
127
119
128
120
options :
@@ -236,5 +228,40 @@ projects:
236
228
files : training/set_unicharset_properties.cpp
237
229
dependencies : unicharset_training
238
230
239
- # text2image
231
+ text2image :
232
+ files :
233
+ - training/text2image.cpp
234
+ - training/boxchar.cpp
235
+ - training/boxchar.h
236
+ - training/degradeimage.cpp
237
+ - training/degradeimage.h
238
+ - training/ligature_table.cpp
239
+ - training/ligature_table.h
240
+ - training/normstrngs.cpp
241
+ - training/normstrngs.h
242
+ - training/pango_font_info.cpp
243
+ - training/pango_font_info.h
244
+ - training/stringrenderer.cpp
245
+ - training/stringrenderer.h
246
+ - training/tlog.cpp
247
+ - training/tlog.h
248
+ - training/util.h
249
+ - training/icuerrorcode.h
250
+
251
+ dependencies :
252
+ - unicharset_training
253
+ - pvt.cppan.demo.gnome.pango.pangocairo : 1
254
+
255
+
256
+
257
+
258
+
259
+
260
+
261
+
262
+
263
+
264
+
265
+
266
+
240
267
0 commit comments