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