Commit Graph

42 Commits

Author SHA1 Message Date
scawful
a868b32a48 Enhance ImGui library integration and CMake configuration
- Added backend source files for ImGui, improving functionality with SDL2.
- Updated CMakeLists.txt to conditionally create the yaze_c library as static or shared based on the YAZE_MINIMAL_BUILD flag.
- Streamlined test linking by ensuring yaze_test links against yaze_core instead of yaze_c, enhancing modularity.
2025-09-26 16:47:47 -04:00
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
41a5b952e4 Refactor CMake configuration for ImGuiTestEngine and feature flags
- Updated the CMake configuration to use target_compile_definitions for ImGuiTestEngine, improving clarity and maintainability.
- Introduced IMGUI_TEST_ENGINE_DEFINITIONS to streamline the definition process for targets linking to ImGuiTestEngine.
- Modified feature flags in features.h to conditionally enable the native file dialog based on the YAZE_ENABLE_NFD flag, enhancing flexibility in feature management.
2025-09-26 12:26:01 -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
f055d9ec88 housekeeping 2025-09-26 10:22:50 -04:00
scawful
f59a0b5abf Refactor CMake configuration to streamline Abseil dependencies
- Removed several internal Abseil components from the CMake configuration to simplify dependency management.
- Cleaned up the list of required Abseil libraries, enhancing clarity and maintainability of the build configuration.
2025-09-26 10:14:10 -04:00
scawful
edafa79dea Add macOS app icon and bundle properties; remove deprecated settings
- Introduced a new app icon file (yaze.icns) for the macOS bundle.
- Updated CMake configuration to set macOS bundle properties, including icon file, bundle name, executable name, and versioning information.
- Removed outdated macOS bundle settings to streamline the configuration process.
2025-09-26 10:04:29 -04:00
scawful
907e29a495 Update CMake configuration and CI workflows for improved compatibility and testing
- Updated minimum CMake version requirement from 3.5 to 3.16 to leverage new features and policies.
- Enhanced CI workflows to include additional build configurations for Ubuntu and macOS, improving cross-platform support.
- Added conditional linking for ImGui Test Engine in the CMakeLists, allowing for UI testing when enabled.
- Refactored CMake commands in CI to ensure consistent policy version handling and streamlined build processes.
- Introduced new constructors for MenuItem in the GUI to enhance menu item management and flexibility.
2025-09-26 09:23:53 -04:00
scawful
8ab30dd5ad Enhance testing framework and CMake integration for YAZE
- Conditionally include Google Test support in the build configuration, allowing for integrated testing when enabled.
- Refactor ImGui Test Engine setup to be conditional based on the YAZE_ENABLE_UI_TESTS flag, improving modularity.
- Update EditorManager to register new test suites, including integrated and performance tests, enhancing test coverage.
- Improve the test dashboard UI with additional options for filtering and viewing test results, providing a better user experience.
- Introduce a new integrated test suite for comprehensive testing of core functionalities, ensuring robustness and reliability.
2025-09-25 13:29:39 -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
scawful
6bdcfe95ec Update CMake configuration and CI/CD workflows
- Upgraded CMake minimum version requirement to 3.16 and updated project version to 0.3.0.
- Introduced new CMake presets for build configurations, including default, debug, and release options.
- Added CI/CD workflows for continuous integration and release management, enhancing automated testing and deployment processes.
- Integrated Asar assembler support with new wrapper classes and CLI commands for patching ROMs.
- Implemented comprehensive tests for Asar integration, ensuring robust functionality and error handling.
- Enhanced packaging configuration for cross-platform support, including Windows, macOS, and Linux.
- Updated documentation and added test assets for improved clarity and usability.
2025-09-25 08:59:59 -04:00
scawful
01eec1432a Remove ImGuiFileDialog integration from CMake configuration 2024-12-31 15:49:22 -05:00
scawful
9745e7005c Remove ImGuiColorTextEdit integration and update includes for TextEditor 2024-12-31 15:25:26 -05:00
Justin Scofield
bad10fff2b Add vcpkg.cmake for Windows
- Add definition `-DMICROSOFT_WINDOWS_WINBASE_H_DEFINE_INTERLOCKED_CPLUSPLUS_OVERLOADS=0`.
- Set target architecture to `x64`.
- Configure CRT and library linkage to `dynamic`.
2024-12-30 09:52:46 -05:00
Justin Scofield
96d9fa8364 Remove hardcoded SDL2 cmake config 2024-12-30 08:15:20 -05:00
scawful
ed76928b8a Fix formatting and whitespace issues in CMake files 2024-12-28 21:28:58 -05:00
scawful
b1f235cd41 Refactor CMakeLists.txt and app.cmake 2024-08-30 11:17:24 -04:00
scawful
451e5714c8 Refactor cmake build command for Windows 2024-08-21 00:53:10 -04:00
scawful
beb8dd50b8 chore: Update test engine linkage and include integration::TestEditor in yaze_test 2024-08-13 20:47:06 -04:00
scawful
415e8215fd update test engine linkage 2024-08-13 19:55:12 -04:00
scawful
36c1d55cda update asar build 2024-08-12 12:00:56 -04:00
scawful
45ab5a8a2a include libpng and zlib directories when built from source 2024-08-12 10:29:40 -04:00
scawful
43f8301977 static link stdlib for mingw 2024-08-12 10:29:18 -04:00
scawful
add1651f4e build png, zlib, absl, sdl2, imgui from src for mingw 2024-08-11 17:02:39 -04:00
scawful
9ae4fcc524 add mingw64.cmake toolchain 2024-08-11 17:02:10 -04:00
scawful
5d0fcca235 include asar src directory 2024-08-10 20:41:23 -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
0807ee70ae add test engine defines on linux for imgui 2024-08-07 14:58:42 -04:00
scawful
fdd83bd0f8 update asar.cmake, add CXX flags for compilation 2024-08-07 13:55:57 -04:00
scawful
fbb01cb49a move test engine sources 2024-07-30 15:55:33 -04:00
scawful
3597f1a78d add ImGuiTestEngine static library 2024-07-24 11:41:33 -04:00
scawful
ab7d2da43c remove sdl2 image 2024-05-28 19:27:25 -04:00
scawful
9b84d8e447 cmake module find absl thru package 2024-05-11 13:53:19 -04:00
scawful
87da128075 remove openssl 2024-05-11 13:41:24 -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
scawful
c0d94a5982 Add palettes to GraphicsEditor, build housekeeping 2023-07-09 22:35:10 -04:00
scawful
9426cd7a87 Update ImGui library SDL2 impl 2023-03-28 12:29:49 -05:00
Justin Scofield
01f1bf9e1d cmake improvements 2022-09-18 09:37:37 -05:00
scawful
03e9ec90e7 update cmake 2022-09-17 11:03:47 -05:00