mirror of
https://github.com/luxfi/opgen.git
synced 2026-10-30 15:23:29 +00:00
An init-statement in an if, and nothing later — that is C++17, not the C++20 the manifest was demanding. A generated SDK that raises the bar for nothing excludes users for nothing. Both g++ and clang++ now compile and run it at that standard under -Wall -Wextra -Werror, because one compiler agreeing with itself is not portability. Co-authored-by: Hanzo Dev <[email protected]>
11 lines
399 B
CMake
11 lines
399 B
CMake
# Code generated from vault's typed ops by opgen. DO NOT EDIT.
|
|
cmake_minimum_required(VERSION 3.16)
|
|
project(vault LANGUAGES CXX)
|
|
|
|
find_package(nlohmann_json 3 REQUIRED)
|
|
|
|
add_library(vault INTERFACE)
|
|
target_include_directories(vault INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/include)
|
|
target_compile_features(vault INTERFACE cxx_std_17)
|
|
target_link_libraries(vault INTERFACE nlohmann_json::nlohmann_json)
|