mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 10:17:02 +08:00
Enabled utilities by default
This commit is contained in:
@@ -1,28 +1,28 @@
|
||||
|
||||
ADD_EXECUTABLE( sortstate EXCLUDE_FROM_ALL sortstate.cpp )
|
||||
TARGET_LINK_LIBRARIES(sortstate
|
||||
openalpr-static
|
||||
ADD_EXECUTABLE( sortstate-openalpr-utils sortstate.cpp )
|
||||
TARGET_LINK_LIBRARIES(sortstate-openalpr-utils
|
||||
openalpr
|
||||
support
|
||||
${OpenCV_LIBS}
|
||||
${Tesseract_LIBRARIES}
|
||||
)
|
||||
|
||||
ADD_EXECUTABLE( classifychars EXCLUDE_FROM_ALL classifychars.cpp )
|
||||
TARGET_LINK_LIBRARIES(classifychars
|
||||
openalpr-static
|
||||
ADD_EXECUTABLE( classifychars-openalpr-utils classifychars.cpp )
|
||||
TARGET_LINK_LIBRARIES(classifychars-openalpr-utils
|
||||
openalpr
|
||||
support
|
||||
${OpenCV_LIBS}
|
||||
${Tesseract_LIBRARIES}
|
||||
)
|
||||
|
||||
|
||||
ADD_EXECUTABLE(benchmark EXCLUDE_FROM_ALL
|
||||
ADD_EXECUTABLE(benchmark-openalpr-utils
|
||||
benchmarks/benchmark.cpp
|
||||
benchmarks/benchmark_utils.cpp
|
||||
benchmarks/endtoendtest.cpp
|
||||
)
|
||||
TARGET_LINK_LIBRARIES(benchmark
|
||||
openalpr-static
|
||||
TARGET_LINK_LIBRARIES(benchmark-openalpr-utils
|
||||
openalpr
|
||||
support
|
||||
pthread
|
||||
${OpenCV_LIBS}
|
||||
@@ -30,16 +30,22 @@ TARGET_LINK_LIBRARIES(benchmark
|
||||
)
|
||||
|
||||
|
||||
ADD_EXECUTABLE( prepcharsfortraining EXCLUDE_FROM_ALL prepcharsfortraining.cpp )
|
||||
TARGET_LINK_LIBRARIES(prepcharsfortraining
|
||||
ADD_EXECUTABLE( prepcharsfortraining-openalpr-utils prepcharsfortraining.cpp )
|
||||
TARGET_LINK_LIBRARIES(prepcharsfortraining-openalpr-utils
|
||||
support
|
||||
${OpenCV_LIBS}
|
||||
)
|
||||
|
||||
|
||||
ADD_EXECUTABLE( tagplates EXCLUDE_FROM_ALL tagplates.cpp )
|
||||
TARGET_LINK_LIBRARIES(tagplates
|
||||
ADD_EXECUTABLE( tagplates-openalpr-utils tagplates.cpp )
|
||||
TARGET_LINK_LIBRARIES(tagplates-openalpr-utils
|
||||
support
|
||||
${OpenCV_LIBS}
|
||||
)
|
||||
|
||||
install (TARGETS sortstate-openalpr-utils DESTINATION bin)
|
||||
install (TARGETS classifychars-openalpr-utils DESTINATION bin)
|
||||
install (TARGETS benchmark-openalpr-utils DESTINATION bin)
|
||||
install (TARGETS prepcharsfortraining-openalpr-utils DESTINATION bin)
|
||||
install (TARGETS tagplates-openalpr-utils DESTINATION bin)
|
||||
|
||||
|
Reference in New Issue
Block a user