summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CXXModules/FileSetModulesPublic.cmake
blob: 52ba35f5e28a213cbc9cad92fed87b118fb5baab (plain)
1
2
3
4
5
6
7
8
9
10
11
enable_language(CXX)
set(CMAKE_CXX_SCANDEP_SOURCE "")

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