Initial Commint & VSCode Task Configurations

This commit is contained in:
Syntriax 2020-06-04 09:44:23 +03:00
parent 3665e4b098
commit 85a7a090b5
4 changed files with 45 additions and 0 deletions

5
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,5 @@
{
"files.associations": {
"iostream": "cpp"
}
}

29
.vscode/tasks.json vendored Normal file
View File

@ -0,0 +1,29 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "shell",
"label": "Build And Run Game",
"command": "C:\\MinGW\\bin\\g++.exe",
"args": [
"-g",
"${workspaceFolder}\\main.cpp",
"-o",
"${workspaceFolder}\\main.exe",
"${workspaceFolder}\\SFML\\*.a",
"&&",
"${workspaceFolder}\\main.exe"
],
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": [
"$gcc"
],
"group": {
"kind": "build",
"isDefault": true
}
}
]
}

4
Engine.hpp Normal file
View File

@ -0,0 +1,4 @@
#ifndef Engine
#define Engine
#include <iostream>
#endif

7
main.cpp Normal file
View File

@ -0,0 +1,7 @@
#include "Engine.hpp"
int main(int argc, char const *argv[])
{
std::cout << "/)(\\";
return 0;
}