MCPcopy Create free account
hub / github.com/Kitware/CMake / SortConfiguration

Class SortConfiguration

Source/cmList.h:833–867  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

831 }
832
833 struct SortConfiguration
834 {
835 enum class OrderMode
836 {
837 DEFAULT,
838 ASCENDING,
839 DESCENDING,
840 } Order = OrderMode::DEFAULT;
841
842 enum class CompareMethod
843 {
844 DEFAULT,
845 STRING,
846 FILE_BASENAME,
847 NATURAL,
848 } Compare = CompareMethod::DEFAULT;
849
850 enum class CaseSensitivity
851 {
852 DEFAULT,
853 SENSITIVE,
854 INSENSITIVE,
855 } Case = CaseSensitivity::DEFAULT;
856
857 // declare the default constructor to work-around clang bug
858 SortConfiguration();
859
860 SortConfiguration(OrderMode order, CompareMethod compare,
861 CaseSensitivity caseSensitivity)
862 : Order(order)
863 , Compare(compare)
864 , Case(caseSensitivity)
865 {
866 }
867 };
868 cmList& sort(SortConfiguration config = SortConfiguration{});
869
870 // exception raised on error during transform operations

Callers 1

cmList.cxxFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…