1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-10-13 02:23:39 +00:00
erc-c/tests/CMakeLists.txt
2017-11-21 23:24:51 -06:00

19 lines
372 B
CMake

cmake_minimum_required(VERSION 3.9)
project(emp-test)
include_directories(../include /usr/local/include)
link_directories(/usr/local/lib)
include(../sources.cmake)
foreach(src ${emp_sources})
string(CONCAT relsrc ../src/ ${src})
list(APPEND sources ${relsrc})
endforeach(src)
add_executable(emp-test ${sources} ./main.c)
target_link_libraries(emp-test criterion)