Tests/RunCMake/CXXModules: Rename FileSetModules cases to be more specific
They all add `CXX_MODULES` to `STATIC` libraries.
This commit is contained in:
parent
817707b904
commit
cd179e7560
@ -1,4 +1,4 @@
|
|||||||
CMake Error at FileSetModulesInterface.cmake:[0-9]+ \(target_sources\):
|
CMake Error at FileSetModulesInterfaceOnStatic.cmake:[0-9]+ \(target_sources\):
|
||||||
target_sources File set TYPE "CXX_MODULES" may not have "INTERFACE"
|
target_sources File set TYPE "CXX_MODULES" may not have "INTERFACE"
|
||||||
visibility
|
visibility
|
||||||
Call Stack \(most recent call first\):
|
Call Stack \(most recent call first\):
|
@ -71,9 +71,14 @@ set(scopes
|
|||||||
Interface
|
Interface
|
||||||
Private
|
Private
|
||||||
Public)
|
Public)
|
||||||
|
set(target_types
|
||||||
|
Static
|
||||||
|
)
|
||||||
foreach (fileset_type IN LISTS fileset_types)
|
foreach (fileset_type IN LISTS fileset_types)
|
||||||
foreach (scope IN LISTS scopes)
|
foreach (scope IN LISTS scopes)
|
||||||
run_cmake("FileSet${fileset_type}${scope}")
|
foreach (target_type IN LISTS target_types)
|
||||||
|
run_cmake("FileSet${fileset_type}${scope}On${target_type}")
|
||||||
|
endforeach ()
|
||||||
endforeach ()
|
endforeach ()
|
||||||
run_cmake("FileSet${fileset_type}InterfaceImported")
|
run_cmake("FileSet${fileset_type}InterfaceImported")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user