Skip to content

Commit

Permalink
cmake: move 'common' files only used by PDF417 to pdf417 directory
Browse files Browse the repository at this point in the history
  • Loading branch information
axxel committed Mar 8, 2024
1 parent a8d1a37 commit 0b45a2c
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,6 @@ if (BUILD_READERS OR BUILD_WRITERS_OLD)
src/TextUtfEncoding.h # [[deprecated]]
src/TextUtfEncoding.cpp # [[deprecated]]
src/Scope.h
src/ZXBigInteger.h # PDF417
src/ZXBigInteger.cpp
)
endif()
if (BUILD_READERS)
Expand All @@ -134,7 +132,6 @@ if (BUILD_READERS)
src/BitSource.cpp
src/ConcentricFinder.h
src/ConcentricFinder.cpp
src/CustomData.h # PDF417
src/DecodeHints.h
$<$<BOOL:${BUILD_SHARED_LIBS}>:src/DecodeHints.cpp> # [[deprecated]]
src/DecoderResult.h
Expand Down Expand Up @@ -172,7 +169,6 @@ if (BUILD_READERS)
src/TritMatrix.h # QRCode
src/WhiteRectDetector.h
src/WhiteRectDetector.cpp
src/ZXNullable.h # PDF417
)
endif()

Expand Down Expand Up @@ -376,6 +372,12 @@ if (BUILD_WRITERS_OLD)
endif()


if (BUILD_READERS OR BUILD_WRITERS_OLD)
set (PDF417_FILES
src/pdf417/ZXBigInteger.h
src/pdf417/ZXBigInteger.cpp
)
endif()
if (BUILD_READERS)
set (PDF417_FILES ${PDF417_FILES}
src/pdf417/PDFBarcodeMetadata.h
Expand Down Expand Up @@ -403,6 +405,8 @@ if (BUILD_READERS)
src/pdf417/PDFReader.cpp
src/pdf417/PDFScanningDecoder.h
src/pdf417/PDFScanningDecoder.cpp
src/pdf417/CustomData.h
src/pdf417/ZXNullable.h
)
endif()
if (BUILD_WRITERS_OLD)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 0b45a2c

Please sign in to comment.