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