Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b98aefb

Browse files
committed
Fix up idscan updates:
- Disable build of all tests (we've removed them) - Disable copy of pdb in windows (we'd not use anyway but does not work) (cherry picked from commit 591bbd2) Minor manual edit (cherry picked from commit ec2794f) Minor manual edit (cherry picked from commit db051e5)
1 parent 79ee02d commit b98aefb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ project(ZXing)
44

55
option (BUILD_WRITERS "Build with writer support (encoders)" ON)
66
option (BUILD_READERS "Build with reader support (decoders)" ON)
7-
option (BUILD_EXAMPLES "Build the example barcode reader/writer applications" ON)
7+
option (BUILD_EXAMPLES "Build the example barcode reader/writer applications" OFF)
88
option (BUILD_BLACKBOX_TESTS "Build the black box reader/writer tests" OFF)
99
option (BUILD_UNIT_TESTS "Build the unit tests (don't enable for production builds)" OFF)
1010
option (BUILD_PYTHON_MODULE "Build the python module" OFF)

core/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ install (
505505
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/ZXing"
506506
)
507507

508-
if (MSVC)
508+
if (MSVC AND OFF)
509509
set_target_properties(ZXing PROPERTIES
510510
COMPILE_PDB_NAME ZXing
511511
COMPILE_PDB_OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR})

0 commit comments

Comments
 (0)