Version: add new module

This commit is contained in:
李通洲
2023-08-21 09:19:16 +08:00
parent 970863e7df
commit f23384725f
19 changed files with 174 additions and 2 deletions
+11
View File
@@ -456,6 +456,17 @@ static inline void printCommandHelp(const char* command)
"second with leading zero"
);
}
else if(ffStrEqualsIgnCase(command, "version-format"))
{
constructAndPrintCommandHelpFormat("version", "{1} {2}{3} (5)", 6,
"Project name",
"Version",
"Version tweak",
"Build type (debug or release)",
"Architecture",
"CMake build type (Debug, Release, RelWithDebInfo, MinSizeRel)"
);
}
else if(ffStrEqualsIgnCase(command, "vulkan-format"))
{
constructAndPrintCommandHelpFormat("vulkan", "{} (driver), {} (api version)", 3,