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

Skip to content

Commit ef2222c

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) (cherry picked from commit b98aefb) Take mostly "their" changes as the option names have changes, but make changes to reflect previous config.
1 parent 3dd4d4c commit ef2222c

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
@@ -7,7 +7,7 @@ set (ZXING_WRITERS "ON" CACHE STRING "Build with old and/or new writer (encod
77
option (ZXING_USE_BUNDLED_ZINT "Use the bundled libzint for barcode creation/writing" ON)
88
option (ZXING_C_API "Build the C-API" OFF)
99
option (ZXING_EXPERIMENTAL_API "Build with experimental API" OFF)
10-
option (ZXING_EXAMPLES "Build the example barcode reader/writer applications" ON)
10+
option (ZXING_EXAMPLES "Build the example barcode reader/writer applications" OFF)
1111
option (ZXING_BLACKBOX_TESTS "Build the black box reader/writer tests" OFF)
1212
option (ZXING_UNIT_TESTS "Build the unit tests (don't enable for production builds)" OFF)
1313
option (ZXING_PYTHON_MODULE "Build the python module" OFF)

core/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ install (
621621
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/ZXing"
622622
)
623623

624-
if (MSVC)
624+
if (MSVC AND OFF)
625625
set_target_properties(ZXing PROPERTIES
626626
COMPILE_PDB_NAME ZXing
627627
COMPILE_PDB_OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR})

0 commit comments

Comments
 (0)