blob: 6e2d94b1acd9c15c43eecfd8f656e39977b2b458 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
enable_language(CXX)
set(CMAKE_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)
|