blob: 71d0f261ca26bf2d676c22e7fdf197a3d72ed30b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
enable_language(CXX)
set(CMAKE_EXPERIMENTAL_CXX_SCANDEP_SOURCE "")
if (NOT CMAKE_CXX_STANDARD_DEFAULT)
set(CMAKE_CXX_STANDARD_DEFAULT "11")
endif ()
add_library(nodyndep)
target_sources(nodyndep
PUBLIC
FILE_SET fs TYPE CXX_MODULES FILES
sources/module.cxx)
target_compile_features(nodyndep
PRIVATE
cxx_std_20)
|