12 lines
443 B
CMake
12 lines
443 B
CMake
cmake_minimum_required(VERSION 3.21)
|
|
project(Bit.ASICmon)
|
|
|
|
set(CMAKE_CXX_STANDARD 23)
|
|
|
|
set(CMAKE_EXE_LINKER_FLAGS "-static -O3 -Wall -pedantic")
|
|
#set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++ -O3 -Wall -pedantic")
|
|
#set(CMAKE_EXE_LINKER_FLAGS "-O3 -Wall -pedantic")
|
|
|
|
add_executable(bitasicmon main.cpp inc/getosname.hpp inc/json.hpp inc/args.hpp inc/macros.hpp inc/colors.hpp)
|
|
target_link_libraries(bitasicmon "-lcurl -lresolv")
|