Commit Graph

12 Commits

Author SHA1 Message Date
scawful
cbce2730b6 Update CMake configuration and .clangd settings for improved build management
- Removed unnecessary compile flags from .clangd to streamline configuration.
- Added YAZE_BUILD_LIB option in CMakeLists.txt for conditional library building in minimal builds.
- Enhanced SDL2 CMake configuration to set include directories for bundled SDL, ensuring proper integration.
- Updated test CMakeLists.txt to conditionally link yaze_c and ImGuiTestEngine based on build options, improving modularity and flexibility.
- Refactored test_editor.cc and test_editor.h to conditionally include ImGuiTestEngine headers and manage engine initialization based on availability.
2025-09-26 13:51:02 -04:00
scawful
6bfecb475e Update SDL2 CMake configuration to include WIN32 support
- Modified the preprocessor directive to include WIN32 in the condition for adding the SDL subdirectory, ensuring compatibility across additional Windows platforms.
2025-09-26 11:54:43 -04:00
scawful
626dbbe0d7 Enhance CMake configuration for Abseil and SDL2 dependencies
- Added new Abseil components: absl::str_format, absl::container_memory, absl::memory, and absl::utility to the CMake configuration for improved functionality.
- Updated SDL2 configuration to use static targets when bundled and adjusted the handling of system SDL to ensure proper target usage across platforms.
2025-09-26 11:51:29 -04:00
scawful
d26f58be2f Enhance CMake configuration for PNG support and introduce vcpkg.json
- Updated CMakeLists.txt to conditionally enable PNG support based on the presence of the PNG library, improving compatibility for minimal builds.
- Added vcpkg.json to manage project dependencies, including zlib, libpng, sdl2, and abseil, streamlining package management.
- Modified CI workflow in ci.yml to simplify CMake configuration commands for better readability.
- Enhanced CMake scripts to ensure proper handling of dependencies in both minimal and regular builds, improving build reliability.
2025-09-25 09:56:32 -04:00
Justin Scofield
96d9fa8364 Remove hardcoded SDL2 cmake config 2024-12-30 08:15:20 -05:00
scawful
45ab5a8a2a include libpng and zlib directories when built from source 2024-08-12 10:29:40 -04:00
scawful
add1651f4e build png, zlib, absl, sdl2, imgui from src for mingw 2024-08-11 17:02:39 -04:00
scawful
7379a8535c cmakelists build cleanup 2024-08-08 13:42:32 -04:00
scawful
94e62b01c4 move SDL2 cmake specifics 2024-08-08 12:31:57 -04:00
scawful
ab7d2da43c remove sdl2 image 2024-05-28 19:27:25 -04:00
scawful
528d8fd9a6 Remove SDL_Mixer in favor of core SDL audio device 2024-04-23 11:27:03 -04:00
scawful
1305e9de19 Update CMakeLists, add sdl2.cmake 2023-08-25 19:03:13 -04:00