mirror of
https://github.com/nlohmann/json.git
synced 2025-06-09 05:29:00 +08:00

* ✅ add test for C++20 modules Signed-off-by: Niels Lohmann <mail@nlohmann.me> * 🚨 fix warning Signed-off-by: Niels Lohmann <mail@nlohmann.me> * Add missing header (#4763) * 🐛 add missing header Signed-off-by: Niels Lohmann <mail@nlohmann.me> * 🚨 fix warning Signed-off-by: Niels Lohmann <mail@nlohmann.me> * 🚨 fix warning Signed-off-by: Niels Lohmann <mail@nlohmann.me> --------- Signed-off-by: Niels Lohmann <mail@nlohmann.me> --------- Signed-off-by: Niels Lohmann <mail@nlohmann.me>
13 lines
314 B
CMake
13 lines
314 B
CMake
cmake_minimum_required(VERSION 3.28)
|
|
|
|
project(json_test CXX)
|
|
|
|
add_executable(json_test)
|
|
|
|
target_sources(json_test
|
|
PRIVATE main.cpp
|
|
PUBLIC FILE_SET cxx_modules TYPE CXX_MODULES FILES json.cpp)
|
|
|
|
target_compile_features(json_test PUBLIC cxx_std_20)
|
|
target_include_directories(json_test PRIVATE ../../include)
|