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

Conversation

xBLACKICEx
Copy link

I've added basic support for windows, and now can run and create a hello word! project and run it.

I'm using xmake for the backend build system, If there is interest, I might consider developing it further.

poac.on.windows.mp4

xblackicex and others added 4 commits November 26, 2024 19:21
    - build and run poac cmd on windows
    - add cmake build system
    - add vcpkg package manager
- 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.
- 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`).
- 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant