Skip to content

Conversation

@killerdevildog
Copy link

  • Add comprehensive CMakePresets.json with platform-specific presets
  • Support for Windows (Visual Studio), Linux (GCC), and macOS (Xcode)
  • Include launcher-only build presets for simplified builds
  • Add build and test presets for all configurations
  • Update README.md with CMakePresets usage documentation
  • Add CMakeUserPresets.json to .gitignore for user-specific settings

Resolves #76

- Add comprehensive CMakePresets.json with platform-specific presets
- Support for Windows (Visual Studio), Linux (GCC), and macOS (Xcode)
- Include launcher-only build presets for simplified builds
- Add build and test presets for all configurations
- Update README.md with CMakePresets usage documentation
- Add CMakeUserPresets.json to .gitignore for user-specific settings

Resolves JeanPhilippeKernel#76
"name": "base",
"description": "Base configuration for all platforms",
"hidden": true,
"binaryDir": "${sourceDir}/build/${presetName}",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we have defined bin output - please see the buildEngine script to follow the same pattern.

```

## Building the engine & launcher
## Building with CMake Presets (Recommended)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For this CMake Preset to work as expected, you'll need to pull all the external lib and some other tools which helps to configure the project. So it can't the recommended option to build the engine.

I'll recommend that you create a section for the CMake Presets with those instructions and revert the original README

@JeanPhilippeKernel
Copy link
Owner

closed this PR because already fixed in #472

@github-project-automation github-project-automation bot moved this from In Progress to Done in ZEngine Board Oct 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DevOps enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Add support of CmakePreset

2 participants