summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CXXModules/CXXImportStdConfig.cmake
blob: 0867082798b8acdbd60c7b3f4f528e4119b914c1 (plain)
1
2
3
4
5
6
7
8
9
10
enable_language(CXX)

set(CMAKE_CXX_MODULE_STD "$<CONFIG:Release>")

add_library(nocxx23target)
target_sources(nocxx23target
  PRIVATE
    FILE_SET fs TYPE CXX_MODULES FILES
      sources/module.cxx)
target_compile_features(nocxx23target PRIVATE cxx_std_23)