Skip to content

Commit 5312df6

Browse files
ChrisThrashereXpl0it3r
authored andcommitted
Clarify step 3 about adding .cpp files
1 parent d955efc commit 5312df6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The template starts out very basic, but might receive additional features over t
1212

1313
1. Follow the above instructions about how to use GitHub's project template feature to create your own project.
1414
1. Open [CMakeLists.txt](CMakeLists.txt). Rename the project and the executable to whatever name you want. The project and executable names don't have to match.
15-
1. Change the source files listed in [`add_executable`](CMakeLists.txt#L10) to match the source files your project requires.
15+
1. If you want to add or remove any .cpp files, change the source files listed in the [`add_executable`](CMakeLists.txt#L10) call in CMakeLists.txt to match the source files your project requires. If you plan on keeping the default main.cpp file then no changes are required.
1616
1. Configure and build your project. Most popular IDEs support CMake projects with very little effort on your part.
1717
- [VS Code](https://code.visualstudio.com) via the [CMake extension](https://code.visualstudio.com/docs/cpp/cmake-linux)
1818
- [Visual Studio](https://docs.microsoft.com/en-us/cpp/build/cmake-projects-in-visual-studio?view=msvc-170)

0 commit comments

Comments
 (0)