Files
emp-ag2pc/CMakeLists.txt
2018-05-14 20:55:28 -04:00

24 lines
553 B
CMake
Executable File

cmake_minimum_required (VERSION 2.8.11)
project (emp-ag2pc)
set(NAME "emp-ag2pc")
find_path(CMAKE_FOLDER NAMES cmake/emp-tool-config.cmake)
include(${CMAKE_FOLDER}/cmake/common.cmake)
include(${CMAKE_FOLDER}/cmake/source_of_randomness.cmake)
include(${CMAKE_FOLDER}/cmake/threading.cmake)
FIND_PACKAGE(emp-ot REQUIRED)
INCLUDE_DIRECTORIES(${EMP-OT_INCLUDE_DIRS})
# Test cases
macro (add_test _name)
add_test_with_lib(${_name} ${EMP-OT_LIBRARIES})
endmacro()
add_test(aes)
add_test(sha1)
add_test(sha256)
#add_test (abit)
#add_test (amortized_2pc)