Skip to content

IDE Setup Guide

CatIsNotFound edited this page Jan 17, 2026 · 4 revisions

IDE Setup Guide

This article will help you install and configure the MyEngine project on different operating systems.

How to Choose an IDE?

On different operating systems, you can choose any C++ Integrated Development Environment (IDE) for project development. Here are some common C++ IDE options:

If you want to set up a C/C++ environment all at once, we recommend:

CLion is a powerful cross-platform IDE that supports all platforms (Windows, Linux, MacOS), has a relatively small footprint, and relies on CMake for project building with MinGW as the corresponding compiler. It is the most suitable IDE for installing or configuring the MyEngine project on this platform.

Visual Studio is beginner-friendly and fully compatible with the Windows platform. However, it has a relatively large footprint and uses MSVC as the corresponding compiler.

IDE Configuration

Different IDEs have different configuration methods. Here are configurations for the following mainstream IDEs:

Jetbrain Clion

Configure Environment Variables (Windows)

ℹ️ Note:

On Windows systems, you don't need to install additional build tools like MinGW, Ninja, or CMake; Clion already has built-in corresponding build tools.

All you need to do is configure the system environment variables so that you can directly use the corresponding build tools in any terminal.

You can directly right-click the Windows icon, select the System menu item, and open Advanced system settings in the settings. In the system properties window that pops up, click the Environment Variables button. Next, you will need to add the path to Clion's corresponding build tools to the system environment variables. Usually, you only need to add to the Path environment variable.

Of course, you can also directly run a script in PowerShell to add the path to Clion's corresponding build tools to the system environment variables. Here's how:

Please directly create any file (for example: set-clion-path.ps1), execute the following command in PowerShell to add the path to Clion's corresponding build tools to the system environment variables. Before executing the following command, remember to replace $clionPath with your own Clion installation path.

# Need to modify $clionPath to your own path.
$clionPath = "\path\to\Jetbrains\Clion"
# Add the path to the system environment variable.
$newPath = "$clionPath\bin;$clionPath\bin\mingw\bin;$clionPath\bin\gdb\win\x64\bin;$clionPath\bin\ninja\win\x64;$clionPath\bin\cmake\win\x64\bin"
# Add the path to the user environment variable.
$currentUserPath = [Environment]::GetEnvironmentVariable("PATH", "User")
# Set the user environment variable.
[Environment]::SetEnvironmentVariable("PATH", "$currentUserPath;$newPath", "User")
# Current session will be affected.
$env:PATH = [Environment]::GetEnvironmentVariable("PATH", "User")

💡 TIPS:

Note that the above configuration only takes effect for the current user.

If you need it to take effect for all users, you need to run PowerShell as an administrator and replace "User" with "Machine".

Install Build Tools (Linux)

For specific installation methods, please refer to Compiler Installation Guide.

Install Build Tools (MacOS)

For specific installation methods, please refer to Compiler Installation Guide.

How to Import MyEngine Project?

Please directly open the terminal and configure, compile, and install the project according to the Quick Start → Source Repository Installation section in the article.

Visual Studio

Installation

If you have never installed Visual Studio, please directly open the Visual Studio Installer.

  • In the Available tab, select any IDE and click the Install button.

  • In the Workloads tab, select the Desktop development with C++ and C++ development tools for Linux and Mac workloads.

  • In the Installation Location tab, modify the Product installation path, then click the Install button and wait for the download and installation to complete.

If you have already installed Visual Studio, please click ToolsGet Tools and Features in the menu bar to launch the Visual Studio Installer.

  • Select your IDE and click the Modify button.

  • In the pop-up window, select the Individual components tab.

  • Enter cmake in the search box and check the CMake component.

  • Click the Install button to install the CMake component.

How to Import MyEngine Project?

Please open the command line Developer PowerShell for VS or Developer Command Prompt for VS (located in the Visual Studio folder in the Start menu) and configure, compile, and install the project according to the Quick Start → Source Repository Installation section in the article.

Visual Studio Code

For configuration, please refer to the following links:

How to Import MyEngine Project?

Please directly open the terminal and configure, compile, and install the project according to the Quick Start → Source Repository Installation section in the article.

Clone this wiki locally