keva-stratum/CMakeLists.txt
2019-04-20 16:02:38 -07:00

14 lines
267 B
CMake

cmake_minimum_required (VERSION 2.8.11)
project(keva-stratum)
add_subdirectory(cnutil)
add_custom_target(build ALL DEPENDS cnutil COMMAND go get -d ../. COMMAND go build ..)
if(MSYS)
add_custom_target(copy ALL COMMAND cp cnutil/libcnutil.dll .)
endif(MSYS)