Home | History | Annotate | Download | only in decrepit
      1 include_directories(../include)
      2 
      3 add_subdirectory(bio)
      4 add_subdirectory(blowfish)
      5 add_subdirectory(cast)
      6 add_subdirectory(des)
      7 add_subdirectory(dh)
      8 add_subdirectory(dsa)
      9 add_subdirectory(evp)
     10 add_subdirectory(obj)
     11 add_subdirectory(rc4)
     12 add_subdirectory(ripemd)
     13 add_subdirectory(rsa)
     14 add_subdirectory(ssl)
     15 add_subdirectory(x509)
     16 add_subdirectory(xts)
     17 
     18 add_library(
     19   decrepit
     20 
     21   $<TARGET_OBJECTS:bio_decrepit>
     22   $<TARGET_OBJECTS:blowfish>
     23   $<TARGET_OBJECTS:cast>
     24   $<TARGET_OBJECTS:des_decrepit>
     25   $<TARGET_OBJECTS:dh_decrepit>
     26   $<TARGET_OBJECTS:dsa_decrepit>
     27   $<TARGET_OBJECTS:evp_decrepit>
     28   $<TARGET_OBJECTS:obj_decrepit>
     29   $<TARGET_OBJECTS:rc4_decrepit>
     30   $<TARGET_OBJECTS:ripemd_decrepit>
     31   $<TARGET_OBJECTS:rsa_decrepit>
     32   $<TARGET_OBJECTS:ssl_decrepit>
     33   $<TARGET_OBJECTS:x509_decrepit>
     34   $<TARGET_OBJECTS:xts>
     35 )
     36 
     37 target_link_libraries(decrepit crypto ssl)
     38 
     39 add_executable(
     40   decrepit_test
     41 
     42   ripemd/ripemd_test.cc
     43 
     44   $<TARGET_OBJECTS:gtest_main>
     45   $<TARGET_OBJECTS:test_support>
     46 )
     47 
     48 target_link_libraries(decrepit_test crypto decrepit gtest)
     49 if (WIN32)
     50   target_link_libraries(decrepit_test ws2_32)
     51 endif()
     52 add_dependencies(all_tests decrepit_test)
     53