aboutsummaryrefslogblamecommitdiff
path: root/tests/CMakeLists.txt
blob: fa76ab9041bb1894e0ba48cbfdc3b85728f897db (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                              

                                                       




                                           




                                                     
      



                  



                                                 
      

 

                                       
      


                  
                           
 


                                                     
 

                                                     
      



                                                            
get_target_property(xsig_priv_incdir xsig INCLUDE_DIRECTORIES)
include_directories(compressed_vector ${xsig_priv_incdir})

add_executable(compressed_vector compressed_vector.cpp)
target_link_libraries(compressed_vector
  xsig
)

add_executable(base64_test base64_test.cpp)
target_link_libraries(base64_test
  xsig
)

add_executable(image_util_tests image_util_tests.cpp)
target_link_libraries(image_util_tests
  xsig
  opencv_core
  opencv_imgcodecs
  opencv_imgproc
  opencv_highgui
)

add_executable(signature_test signature_test.cpp)
target_link_libraries(signature_test
  xsig
)

add_executable(testdrive testdrive.cpp)
target_link_libraries(testdrive
  xsig
  opencv_core
  opencv_imgcodecs
  opencv_imgproc
  ${CMAKE_THREAD_LIBS_INIT}
)
if(WIN32)
    target_link_libraries(testdrive shell32 kernel32)
endif()

add_executable(testdrive_sqlite testdrive_sqlite.cpp)
target_link_libraries(testdrive_sqlite
  xsig
)
if(WIN32)
    target_link_libraries(testdrive_sqlite shell32 kernel32)
endif()