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)