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.

@@ -62,15 +62,88 @@ Before building, make sure your setup is correct :
brew install llvm@20
```

## 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

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: In Progress
Development

Successfully merging this pull request may close these issues.

Add support of CmakePreset
2 participants