|
|
|
@@ -34,6 +34,18 @@ if(NOT ENABLE_CPU OR WIN32) |
|
|
|
list(REMOVE_ITEM _FL_SRC_FILES "server/round.cc") |
|
|
|
list(REMOVE_ITEM _FL_SRC_FILES "server/server.cc") |
|
|
|
list(REMOVE_ITEM _FL_SRC_FILES "worker/fl_worker.cc") |
|
|
|
list(REMOVE_ITEM _FL_SRC_FILES "armour/secure_protocol/encrypt.cc") |
|
|
|
list(REMOVE_ITEM _FL_SRC_FILES "armour/secure_protocol/key_agreement.cc") |
|
|
|
list(REMOVE_ITEM _FL_SRC_FILES "armour/secure_protocol/random.cc") |
|
|
|
list(REMOVE_ITEM _FL_SRC_FILES "armour/secure_protocol/secret_sharing.cc") |
|
|
|
list(REMOVE_ITEM _FL_SRC_FILES "armour/cipher/cipher_init.cc") |
|
|
|
list(REMOVE_ITEM _FL_SRC_FILES "armour/cipher/cipher_keys.cc") |
|
|
|
list(REMOVE_ITEM _FL_SRC_FILES "armour/cipher/cipher_meta_storage.cc") |
|
|
|
list(REMOVE_ITEM _FL_SRC_FILES "armour/cipher/cipher_reconstruct.cc") |
|
|
|
list(REMOVE_ITEM _FL_SRC_FILES "armour/cipher/cipher_shares.cc") |
|
|
|
list(REMOVE_ITEM _FL_SRC_FILES "armour/cipher/cipher_unmask.cc") |
|
|
|
else() |
|
|
|
add_compile_definitions(ENABLE_ARMOUR) |
|
|
|
endif() |
|
|
|
|
|
|
|
list(LENGTH _FL_SRC_FILES fl_file_num) |
|
|
|
|