-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
39 lines (32 loc) · 945 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
cmake_minimum_required(VERSION 3.20)
project(QR_IO)
# Find OpenCV package
find_package(OpenCV REQUIRED)
# Add include directories for OpenCV headers
include_directories(${OpenCV_INCLUDE_DIRS})
set(CMAKE_CXX_STANDARD 20)
include_directories(.)
add_executable(
QR_IO
demo.cpp
Qrio/BitStream.cpp
Qrio/BitStream.h
Qrio/SquareMatrix.cpp
Qrio/SquareMatrix.h
Qrio/Designator.h
Qrio/DataAnalyzer.cpp
Qrio/DataAnalyzer.h
Qrio/DataSegment.cpp
Qrio/DataSegment.h
Qrio/Encoder.cpp
Qrio/Encoder.h
Qrio/ErrorCorrectionEncoder.cpp
Qrio/ErrorCorrectionEncoder.h
Qrio/Structurer.cpp
Qrio/Structurer.h
Qrio/Ecl.h
Qrio/QrCode.cpp
Qrio/QrCode.h Qrio/Ecl.cpp)
target_compile_options(QR_IO PRIVATE -Wall -Wextra -Wpedantic)
# Link against OpenCV libraries
target_link_libraries(QR_IO ${OpenCV_LIBS})