moved stringify code to dCommon

This commit is contained in:
jadebenn 2023-12-17 05:19:37 -06:00 committed by GitHub
parent a704d840dc
commit 33fa5f8d2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 1 deletions

View File

@ -12,6 +12,7 @@ set(DCOMMON_SOURCES
"NiPoint3.cpp" "NiPoint3.cpp"
"NiQuaternion.cpp" "NiQuaternion.cpp"
"SHA512.cpp" "SHA512.cpp"
"StringifyEnums.h"
"Demangler.cpp" "Demangler.cpp"
"ZCompression.cpp" "ZCompression.cpp"
"BrickByBrickFix.cpp" "BrickByBrickFix.cpp"

View File

@ -1,3 +1,5 @@
// Source - https://mariusbancila.ro/blog/2023/08/17/how-to-convert-an-enum-to-string-in-cpp/
#define GENERATE_ENUM_STRINGS // Start string generation #define GENERATE_ENUM_STRINGS // Start string generation
#include "eGameMessageType.h" #include "eGameMessageType.h"

View File

@ -5,5 +5,4 @@ set(DGAME_DUTILITIES_SOURCES "BrickDatabase.cpp"
"Mail.cpp" "Mail.cpp"
"Preconditions.cpp" "Preconditions.cpp"
"SlashCommandHandler.cpp" "SlashCommandHandler.cpp"
"StringifyEnums.cpp"
"VanityUtilities.cpp" PARENT_SCOPE) "VanityUtilities.cpp" PARENT_SCOPE)