File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,8 @@ endif()
64
64
65
65
find_package (OpenCL QUIET )
66
66
67
+ option (BUILD_TRAINING_TOOLS "Build training tools" ON )
68
+
67
69
###############################################################################
68
70
#
69
71
# compiler and linker
@@ -246,6 +248,8 @@ set_target_properties (tesseractmain PROPERTIES OUTPUT_NAME tesseract)
246
248
247
249
########################################
248
250
251
+ if (BUILD_TRAINING_TOOLS)
249
252
add_subdirectory (training)
253
+ endif ()
250
254
251
255
###############################################################################
Original file line number Diff line number Diff line change @@ -16,8 +16,6 @@ before_build:
16
16
- curl -fsS -o cppan.zip https://cppan.org/client/cppan-master-Windows-client.zip
17
17
- 7z x cppan.zip
18
18
- set PATH=%PATH%;%cd%
19
-
20
- - cmake --version
21
19
22
20
- cppan # dummy run to create %USERPROFILE%\.cppan\cppan.yml
23
21
- ps : ' Add-Content $env:USERPROFILE\.cppan\cppan.yml "`n`nbuild_system_verbose: false`n"'
@@ -26,5 +24,5 @@ build_script:
26
24
- cppan
27
25
- mkdir build
28
26
- cd build
29
- - cmake .. -G "%generator%"
27
+ - cmake .. -G "%generator%" -DBUILD_TRAINING_TOOLS=Off
30
28
- cmake --build . --config Release
You can’t perform that action at this time.
0 commit comments