mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 16:27:07 +08:00
40 lines
686 B
CMake
40 lines
686 B
CMake
|
|
|
|
|
|
|
|
set(lpr_source_files
|
|
alpr.cpp
|
|
alpr_impl.cpp
|
|
config.cpp
|
|
regiondetector.cpp
|
|
licenseplatecandidate.cpp
|
|
utility.cpp
|
|
stateidentifier.cpp
|
|
featurematcher.cpp
|
|
ocr.cpp
|
|
postprocess.cpp
|
|
binarize_wolf.cpp
|
|
platelines.cpp
|
|
characterregion.cpp
|
|
charactersegmenter.cpp
|
|
platecorners.cpp
|
|
colorfilter.cpp
|
|
characteranalysis.cpp
|
|
verticalhistogram.cpp
|
|
trex.c
|
|
cjson.c
|
|
tinythread/tinythread.cpp
|
|
)
|
|
|
|
|
|
|
|
add_subdirectory(simpleini)
|
|
add_subdirectory(support)
|
|
|
|
|
|
add_library(openalpr-static STATIC ${lpr_source_files} )
|
|
add_library(openalpr SHARED ${lpr_source_files} )
|
|
|
|
|
|
# Add definition for default runtime dir
|
|
add_definitions(-DDEFAULT_RUNTIME_DIR="${CMAKE_SOURCE_DIR}/../runtime_data/") |