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
358 B
16 lines
358 B
set(CMAKE_EXPERIMENTAL_CXX_IMPORT_STD
|
|
"0e5b6991-d74f-4b3d-a41c-cf096e0b2508")
|
|
|
|
cmake_minimum_required(VERSION 3.29)
|
|
project(cxx_modules_import_std CXX)
|
|
|
|
include("${CMAKE_SOURCE_DIR}/../cxx-modules-rules.cmake")
|
|
|
|
set(CMAKE_CXX_MODULE_STD 1)
|
|
|
|
add_executable(main
|
|
main.cxx)
|
|
target_compile_features(main PRIVATE cxx_std_23)
|
|
|
|
add_test(NAME main COMMAND main)
|