A simple, zero-dependency CLI tool to quickly initialize a C++ project structure for any Unreal Engine Blueprint-only project.
Now it supports Unreal Engine 5.0+ C++ project.
This tool available on npm now: https://www.npmjs.com/package/uecpp
When you want to convert a Blueprint-only Unreal Engine project to a C++ project, you need to manually create the Source directory and a set of boilerplate files (.Build.cs, .Target.cs). This tool automates that process.
The easiest way to use this tool without installation:
cd <your-project-directory>
npx uecppThis will prompt you to select the Unreal Engine version from 5.0 to 5.9, or you can directly specify the version:
npx uecpp 5.6 # For UE 5.6
npx uecpp 5.21 # For any UE 5.x versionInstall it globally using npm:
npm install -g ue-cpp-initThen use it anywhere:
cd <your-project-directory>
uecpp 5.6 # Directly specify version
uecpp # Interactive mode- Known versions (5.0-5.9): Uses specific BuildSettingsVersion
- 5.0-5.1: V2
- 5.2: V3
- 5.3: V4
- 5.4-5.9: V5
- Unknown versions (5.10+): Uses Latest settings
This tool will:
- Check if a
.uprojectfile exists in the current directory - Create the necessary
Sourcedirectory structure - Generate three C# build configuration files with the correct UE version settings
- Provide instructions for the next step (Generate Visual Studio project files)
That's it! 🎉