1 2 3 4 5 6 7 8 9 10
set(PROTOCOLS ec25519_fhmqvc) set(PROTOCOL_SOURCES "") foreach(protocol ${PROTOCOLS}) add_subdirectory(${protocol}) list(APPEND PROTOCOL_SOURCES $<TARGET_OBJECTS:protocol_${protocol}>) endforeach(protocol) add_library(protocols STATIC ${PROTOCOL_SOURCES})