-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
121 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"configurations": [ | ||
|
||
{ | ||
"name": "linux", | ||
"includePath": [ | ||
"${workspaceRoot}", | ||
"/usr/include", | ||
"/usr/include/GL/", | ||
"/usr/local/include" | ||
], | ||
"defines": [], | ||
"intelliSenseMode": "clang-x64", | ||
"browse": { | ||
"path": [ | ||
"/usr/include", | ||
"/usr/local/include" | ||
], | ||
"limitSymbolsToIncludedHeaders": true, | ||
"databaseFilename": "" | ||
}, | ||
"compilerPath": "/usr/local/cuda-9.0/bin/gcc", | ||
"cStandard": "c11", | ||
"cppStandard": "c++17" | ||
} | ||
|
||
], | ||
"version": 4 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "C++ Launch", | ||
"type": "cppdbg", | ||
"request": "launch", | ||
"program": "${workspaceRoot}/Builds/Linux_Build/engine", | ||
"preLaunchTask": "Build", | ||
"stopAtEntry": false, | ||
"cwd": "${workspaceRoot}", | ||
"environment": [], | ||
"externalConsole": true, | ||
"MIMode": "gdb", | ||
"linux": { | ||
"setupCommands": [ | ||
{ | ||
"description": "Enable pretty-printing for gdb", | ||
"text": "-enable-pretty-printing", | ||
"ignoreFailures": true | ||
} | ||
] | ||
}, | ||
"osx": { | ||
"program": "${workspaceRoot}/Builds/Mac_Build/engine", | ||
"MIMode": "lldb" | ||
}, | ||
"windows": { | ||
"program": "${workspaceRoot}/Builds/Win_Build/engine", | ||
"miDebuggerPath": "C:\\MinGw\\bin\\gdb.exe" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"files.associations": { | ||
"iostream": "cpp", | ||
"cstdio": "cpp", | ||
"ctime": "cpp", | ||
"memory": "cpp", | ||
"list": "cpp", | ||
"vector": "cpp" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"version": "0.1.0", | ||
"command": "g++", | ||
"isShellCommand": true, | ||
"showOutput": "always", | ||
"linux": { | ||
"tasks": [ | ||
{ | ||
"taskName": "Build", | ||
"suppressTaskName": true, | ||
"isBuildCommand": true, | ||
"args": [ | ||
"-g", | ||
"-std=c++11", | ||
"main.cpp", | ||
"-o", "Builds/Linux_Build/engine", | ||
"-lGL", | ||
"-lGLEW", | ||
"-lGLU", | ||
"-lSDL2main", | ||
"-lSDL2", | ||
"-lSDL2_image", | ||
"-lSDL2_ttf" | ||
] | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# OBJS specifies which files to compile as part of the project | ||
OBJS = drawDemo.cpp | ||
|
||
# CC specifies which compiler we're using | ||
CC = gcc -std=c++11 | ||
|
||
# COMPILER_FLAGS specifies the additional compilation options we're using | ||
# -Wall will turn on all standard warnings | ||
COMPILER_FLAGS = -Wall | ||
|
||
# LINKER_FLAGS specifies the libraries we're linking against | ||
LINKER_FLAGS = -lGLU -lGL -lglut | ||
|
||
# OBJ_NAME specifies the name of our exectuable | ||
OBJ_NAME = main.out | ||
|
||
#This is the target that compiles our executable | ||
all: $(OBJS) | ||
$(CC) $(OBJS) $(COMPILER_FLAGS) $(LINKER_FLAGS) -o $(OBJ_NAME) |