1 include_directories(. .. ../../include) 2 3 add_library( 4 hmac 5 6 OBJECT 7 8 hmac.c 9 ) 10 11 12 add_executable( 13 hmac_test 14 15 hmac_test.cc 16 17 $<TARGET_OBJECTS:test_support> 18 ) 19 20 target_link_libraries(hmac_test crypto) 21