Excluding misc utilities unless build is requested explicitly

This commit is contained in:
Matt Hill
2014-08-16 10:08:58 -04:00
parent 1ab4d45b77
commit 777d021a80

View File

@@ -3,7 +3,7 @@ target_link_libraries(openalpr)
ADD_EXECUTABLE( sortstate sortstate.cpp )
ADD_EXECUTABLE( sortstate EXCLUDE_FROM_ALL sortstate.cpp )
TARGET_LINK_LIBRARIES(sortstate
openalpr-static
support
@@ -11,7 +11,7 @@ TARGET_LINK_LIBRARIES(sortstate
${Tesseract_LIBS}
)
ADD_EXECUTABLE( classifychars classifychars.cpp )
ADD_EXECUTABLE( classifychars EXCLUDE_FROM_ALL classifychars.cpp )
TARGET_LINK_LIBRARIES(classifychars
openalpr-static
support
@@ -20,7 +20,7 @@ TARGET_LINK_LIBRARIES(classifychars
)
ADD_EXECUTABLE(benchmark
ADD_EXECUTABLE(benchmark EXCLUDE_FROM_ALL
benchmark/benchmark.cpp
benchmark/benchmark_utils.cpp
benchmark/endtoendtest.cpp
@@ -34,14 +34,14 @@ TARGET_LINK_LIBRARIES(benchmark
)
ADD_EXECUTABLE( prepcharsfortraining prepcharsfortraining.cpp )
ADD_EXECUTABLE( prepcharsfortraining EXCLUDE_FROM_ALL prepcharsfortraining.cpp )
TARGET_LINK_LIBRARIES(prepcharsfortraining
support
${OpenCV_LIBS}
)
ADD_EXECUTABLE( tagplates tagplates.cpp )
ADD_EXECUTABLE( tagplates EXCLUDE_FROM_ALL tagplates.cpp )
TARGET_LINK_LIBRARIES(tagplates
support
${OpenCV_LIBS}