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

Skip to content

Commit ec2794f

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
1 parent c5b2897 commit ec2794f

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
@@ -515,7 +515,7 @@ install (
515515
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/ZXing"
516516
)
517517

518-
if(MSVC)
518+
if(MSVC AND OFF)
519519
set_target_properties(ZXing PROPERTIES
520520
COMPILE_PDB_NAME ZXing
521521
COMPILE_PDB_OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR})

0 commit comments

Comments
 (0)