initial
This commit is contained in:
14
How_to_CMake.txt
Normal file
14
How_to_CMake.txt
Normal file
@@ -0,0 +1,14 @@
|
||||
Use to first build your build folder
|
||||
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug
|
||||
|
||||
Use to compile your code
|
||||
cmake --build build -j
|
||||
|
||||
Use to run your program
|
||||
./build/{your program}
|
||||
|
||||
|
||||
|
||||
|
||||
###
|
||||
In the CMAKE file at the top, define your program name.
|
||||
Reference in New Issue
Block a user