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.
16 lines
364 B
16 lines
364 B
cmake_minimum_required(VERSION 3.14...3.25)
|
|
|
|
set (CXX_STANDARD 23)
|
|
|
|
project(
|
|
qr
|
|
VERSION 1.0
|
|
LANGUAGES CXX
|
|
)
|
|
|
|
file(GLOB_RECURSE sources main.cpp src/*.hpp src/*.cpp lib/*.hpp lib/*.cpp)
|
|
add_executable(qr ${sources})
|
|
|
|
target_compile_options(qr PUBLIC -Wall -std=c++20 -arch arm64)
|
|
target_include_directories(qr PRIVATE src lib)
|
|
install(TARGETS qr DESTINATION bin) |