You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
514 B
20 lines
514 B
cmake_minimum_required(VERSION 3.15.0) |
|
|
|
set(CMAKE_TOOLCHAIN_FILE cmake/toolchain.cmake) |
|
|
|
project(miner_scheduler VERSION 0.1.0) |
|
|
|
add_definitions(-DAPP_NAME="miner_scheduler") |
|
add_definitions(-DAPP_VERSION="0.1.0") |
|
add_definitions(-DAPP_GCC="${CMAKE_C_COMPILER_VERSION}") |
|
|
|
include(ExternalProject) |
|
include(cmake/fmt.cmake) |
|
include(cmake/wiringOP.cmake) |
|
|
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR}) |
|
add_executable(miner_scheduler main.cpp |
|
cmd_line_args.cpp) |
|
|
|
add_dependencies(miner_scheduler fmt wiringOP) |
|
|
|
|