mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 17:17:22 +01:00
feat: add cpp template
This commit is contained in:
parent
6da0fcbb1b
commit
baeb65234b
10 changed files with 94 additions and 86 deletions
1
templates/cpp/src/CMakeLists.txt
Normal file
1
templates/cpp/src/CMakeLists.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
add_executable(name name.cpp name.cpp)
|
||||
7
templates/cpp/src/name.cpp
Normal file
7
templates/cpp/src/name.cpp
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#include <iostream>
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
cout << "Hello, world!" << endl;
|
||||
return 0;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue