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