Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 ".")
Expand Down
7 changes: 5 additions & 2 deletions sdk_includes/public/build.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

//================================================================
//
Expand Down Expand Up @@ -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
Comment on lines +147 to +148
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revert this

Copy link
Copy Markdown
Member

@a1batross a1batross May 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes will get synced from library_suffix as PR will be merged, so it's a minor nit right now.

#endif
#endif

Expand Down Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions sdk_includes/public/buildenums.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ For more information, please refer to <http://unlicense.org/>
#define ARCHITECTURE_RISCV 8
#define ARCHITECTURE_PPC 9
#define ARCHITECTURE_WASM 10
#define ARCHITECTURE_SPARC 11

#if XASH_AMD64
#define XASH_ARCHITECTURE ARCHITECTURE_AMD64
Expand All @@ -133,6 +134,8 @@ For more information, please refer to <http://unlicense.org/>
#define XASH_ARCHITECTURE ARCHITECTURE_PPC
#elif XASH_WASM
#define XASH_ARCHITECTURE ARCHITECTURE_WASM
#elif XASH_SPARC
#define XASH_ARCHITECTURE ARCHITECTURE_SPARC
#else
#error
#endif
Expand Down