diff --git a/CMakeLists.txt b/CMakeLists.txt index d4930ac..efdd7ad 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -83,7 +83,9 @@ endif() if(NOT BUILD_AS_PART_OF_ENGINE) # grab platform library suffix - set_target_postfix(menu) + set_target_properties(menu PROPERTIES + DEBUG_POSTFIX "_d" + ) else() # install to the same directory as engine set(GAMEDIR ".") diff --git a/sdk_includes/public/build.h b/sdk_includes/public/build.h index 8b6a732..4e5c888 100644 --- a/sdk_includes/public/build.h +++ b/sdk_includes/public/build.h @@ -91,6 +91,7 @@ Then you can use another oneliner to query all variables: #undef XASH_PSVITA #undef XASH_WASI #undef XASH_WASM +#undef XASH_SPARC //================================================================ // @@ -143,8 +144,8 @@ Then you can use another oneliner to query all variables: #define XASH_EMSCRIPTEN 1 #elif defined __gnu_hurd__ #define XASH_HURD 1 - #else - #error + #else + #error #endif #endif @@ -265,6 +266,8 @@ Then you can use another oneliner to query all variables: #define XASH_64BIT 1 #endif #define XASH_WASM 1 +#elif defined __sparc__ + #define XASH_SPARC 1 #else #error "Place your architecture name here! If this is a mistake, try to fix conditions above and report a bug" #endif diff --git a/sdk_includes/public/buildenums.h b/sdk_includes/public/buildenums.h index 494cee8..ab431e8 100644 --- a/sdk_includes/public/buildenums.h +++ b/sdk_includes/public/buildenums.h @@ -114,6 +114,7 @@ For more information, please refer to #define ARCHITECTURE_RISCV 8 #define ARCHITECTURE_PPC 9 #define ARCHITECTURE_WASM 10 +#define ARCHITECTURE_SPARC 11 #if XASH_AMD64 #define XASH_ARCHITECTURE ARCHITECTURE_AMD64 @@ -133,6 +134,8 @@ For more information, please refer to #define XASH_ARCHITECTURE ARCHITECTURE_PPC #elif XASH_WASM #define XASH_ARCHITECTURE ARCHITECTURE_WASM +#elif XASH_SPARC + #define XASH_ARCHITECTURE ARCHITECTURE_SPARC #else #error #endif