cmake_minimum_required(VERSION 2.8.11)
project(emp-gc-test)
set(NAME "emp-gc-test")
set(ENABLE_FLOAT ON)

find_path(CMAKE_FOLDER NAMES cmake/emp-tool-config.cmake)
include(${CMAKE_FOLDER}/cmake/common.cmake)
include(${CMAKE_FOLDER}/cmake/enable_rdseed.cmake)
include(${CMAKE_FOLDER}/cmake/enable_float.cmake)

find_package(emp-sh2pc REQUIRED)
find_package(emp-tool REQUIRED)
include_directories(${EMP-SH2PC_INCLUDE_DIRS})

add_executable(argmax argmax_cython.cpp argmax_cython.hpp)
target_link_libraries(argmax ${EMP-SH2PC_LIBRARIES})
