Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add basic windows support for poac #1045

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Commits on Nov 26, 2024

  1. ✨ feat: add windows support

        - build and run poac cmd on windows
        - add cmake build system
        - add vcpkg package manager
    xblackicex committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    b4c5a0e View commit details
    Browse the repository at this point in the history
  2. ✨ feat(build): addXmake as an alternative build system

    - Refactored `buildImpl` to handle multiple build systems (`Makefile` and `Xmake`).
    - Introduced `emitXmakeLua` method to generate Xmake-specific build files.
    - Added `--build-system` option to `build` command for selecting the desired build system.
    - Fixed improper handling of file descriptors in `Command` class on Windows.
    xblackicex committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    3d0e539 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2024

  1. 🐞 fix: resolve build fail on linux

    - corrected the `waitpid` function in `Command` class to use the `process` member properly.
    - updated `Child::waitWithOutput` to align return fields with consistent naming (`stdout_str` and `stderr_str`).
    xBLACKICEx committed Nov 27, 2024
    Configuration menu
    Copy the full SHA
    f1a5b40 View commit details
    Browse the repository at this point in the history
  2. ✨ feat(cmake): add test support and improve build configuration

    - introduced a testing framework with test targets for core components.
    - separated `poac` into a library (`poac_lib`) and executable for modularity.
    - add support for stricter compiler diagnostics and warnings on supported platforms.
    - updated CMake presets to simplify and unify build configurations for Ninja and Visual Studio.
    - refined `CMakeLists.txt` to include `clang++` as the default compiler on Unix if available.
    xBLACKICEx committed Nov 27, 2024
    Configuration menu
    Copy the full SHA
    ad214ac View commit details
    Browse the repository at this point in the history