diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2023-10-20 02:37:46 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2023-10-20 03:09:33 (GMT) |
commit | 462517092514e9751ab3e375fdcf2173d2c43399 (patch) | |
tree | 7e141caac58114fc9891cba1c942ceb69bda78bd /Source/cmFileSet.cxx | |
parent | 51f9d9f0a2a85744e9214aaa24054fabb9e79355 (diff) | |
download | CMake-462517092514e9751ab3e375fdcf2173d2c43399.zip CMake-462517092514e9751ab3e375fdcf2173d2c43399.tar.gz CMake-462517092514e9751ab3e375fdcf2173d2c43399.tar.bz2 |
cmFileSet: add a query for includeable file set types
Diffstat (limited to 'Source/cmFileSet.cxx')
-rw-r--r-- | Source/cmFileSet.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmFileSet.cxx b/Source/cmFileSet.cxx index bcf7fba..b74855f 100644 --- a/Source/cmFileSet.cxx +++ b/Source/cmFileSet.cxx @@ -80,6 +80,11 @@ bool cmFileSetVisibilityIsForInterface(cmFileSetVisibility vis) return false; } +bool cmFileSetTypeCanBeIncluded(std::string const& type) +{ + return type == "HEADERS"_s; +} + cmFileSet::cmFileSet(cmake& cmakeInstance, std::string name, std::string type, cmFileSetVisibility visibility) : CMakeInstance(cmakeInstance) |