10 Commits

Author SHA1 Message Date
Dennis Brakhane 2ebee47c4b allocate application on heap instead of stack and delete it
This prevents problems with Vulkan debug layers that don't like
Vulkan calls to happen during C++ app shutdown.
2026-01-19 14:16:17 +01:00
Dennis Brakhane be6756ae01 cmake: add option to compile and embed shaders during the build process (#1356)
This adds an option WICKED_EMBED_SHADERS (off by default). When ON,
offlineshadercompiler will be compiled first and run every time
a *.hlsl? file changes, the resulting wiShaderDump.h will be put
in the build directory, and then wiRenderer will be compiled again with
the build directory in the include path; this will cause the
__hasinclude to trigger embedded shaders mode.

A nice side effect is that the hacky solution to handle the __hasinclude
is not needed anymore, all dependencies are now handled correctly.

offlineshadercompiler was also extended with a "quiet" option to
suppress messages during compilation.
2025-12-11 07:49:43 +01:00
Dennis Brakhane d7e9cc90cd cmake: add flags to enable sanitizers on linux (#1284)
Sanitizers added: address, undefined behaviour, thread

also rename WICKED_USE_{IPO,SYMLINKS} to WICKED_ENABLE_{IPO,SYMLINKS}
for consistency with the other options.
2025-11-04 17:17:59 +01:00
Dennis Brakhane 89ad0f1a1a cmake: add support for link time optimization (#1196)
add an option WICKED_USE_IPO that enables IPO/LTO on non-debug builds.

It defaults to ON, unless the compiler doesn't support it.
2025-08-04 08:01:28 +02:00
Dennis Brakhane 92c1932c95 linux template: add missing call to ProcessEvent (#1135) 2025-06-19 02:41:41 +07:00
Turánszki János ef16be5f41 removed mostly win32 code clutter 2025-06-03 19:34:47 +02:00
Anjo2807 2d3ec28b24 fix the linux template mentioning Windows (#1113)
Update ReadMe.txt
2025-06-01 17:06:48 +02:00
Dennis Brakhane b0390c1f44 require cmake 3.19
We use features that aren't supported before that
2025-03-11 14:20:49 +01:00
k4ss4n 6e3ed8a8af Update CMakeLists.txt (#975)
corrected minor spelling error

Co-authored-by: Turánszki János <turanszkij@users.noreply.github.com>
2024-11-02 07:22:28 +01:00
Turánszki János 94a34c51c1 refactored samples (#942) 2024-09-12 08:49:00 +02:00