atlas create command scaffolds a new Atlas Engine project with all necessary files, dependencies, and build configuration.
Usage
Arguments
name (required)
The name of your project. This will be used as:- The project name in CMakeLists.txt
- The executable name (lowercase)
- The source code directory name
- The default application name
path (optional)
Custom directory path where the project will be created. If not specified, creates a directory with the project name in the current location.Options
—version, -v
Specify the Atlas Engine version to use. Currently only"latest" is supported.
latest
—branch, -b
Specify a custom GitHub branch to pull engine files from. Useful for testing development versions.stablefor version “latest”mainfor version “dev”
Generated Project Structure
When you create a new project, the CLI generates the following structure:Example Workflow
Dependencies
The create command automatically:- Fetches engine headers from the Atlas GitHub repository
- Downloads precompiled libraries from the latest GitHub release
- Configures CMake with all required dependencies:
- OpenGL
- GLFW (windowing)
- GLM (math)
- Assimp (3D model loading)
- Freetype (text rendering)
- OpenAL (audio)
- Jolt Physics
Configuration File
The generatedatlas.toml contains default settings:
Troubleshooting
Network Issues
If the create command fails to download files, check your internet connection. The CLI fetches files from:github.com/maxvdec/atlas(source code)- GitHub API for release assets
Version Errors
Only"latest" version is currently supported:
--branch for custom builds.