File tree Expand file tree Collapse file tree 1 file changed +16
-8
lines changed
Expand file tree Collapse file tree 1 file changed +16
-8
lines changed Original file line number Diff line number Diff line change @@ -81,21 +81,29 @@ set(HEADERS
8181```
8282
8383### 4. Build the Project
84- Navigate to the project root and run the following commands:
84+ You have two common ways to build and run the project: ** Visual Studio ** or the ** Command Line ** .
8585
86- #### Configure CMake
87- ``` sh
88- cmake --preset my-build
89- ```
90- (` cmake --preset my-build ` will create a ` build/ ` directory automatically)
86+ ---
87+
88+ #### 🔷 Method 1: Using Visual Studio
89+
90+ 1 . Open the ` .sln ` file located inside the ` build/ ` directory.
91+ 2 . In the ** Solution Explorer** , right-click on the project named ` game ` and select ** "Set as Startup Project"** .
92+ 3 . Press ` Ctrl + F5 ` or click ** Debug → Start Without Debugging** to run the project.
93+
94+ ✅ That’s it! Visual Studio will automatically build and run the project.
95+
96+ ---
97+
98+ #### ⚙️ Method 2: Using Command Line
99+
100+ Make sure you're in the root of the project and then run the following:
91101
92102#### Change to the Build Directory
93103``` sh
94104cd " ./build"
95105```
96106
97- In the build directory run:
98-
99107#### Build the Project
100108``` sh
101109cmake --build .
You can’t perform that action at this time.
0 commit comments