-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathProject_Build.txt
More file actions
60 lines (59 loc) · 2.08 KB
/
Project_Build.txt
File metadata and controls
60 lines (59 loc) · 2.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"folders":
[
{
"path": "src",
"file_include_patterns": ["*.cpp"],
"follow_symlinks": true
},
{
"path": "include",
"file_include_patterns": ["*.hpp", "*.h"],
"follow_symlinks": true
}
],
"build_systems":
[
{
"name": "C++ Build Debug",
"working_dir": "${file_path}/..",
"cmd": "g++ -c src/*.cpp -std=c++14 -g -Wall -m64 -I C:/SFML-2.5.1/include && g++ *.o -o bin/debug/main -L C:/SFML-2.5.1/lib -lsfml-graphics -lsfml-window -lsfml-system -lsfml-audio -lsfml-network && start bin/debug/main",
"selector": "source.c++",
"shell": true
},
{
"name": "C++ Build Release",
"working_dir": "${file_path}/..",
"cmd": "g++ -c src/*.cpp -std=c++14 -O3 -m64 -I C:/SFML-2.5.1/include && g++ *.o -o bin/release/main -s -mwindows -L C:/SFML-2.5.1/lib -lsfml-graphics -lsfml-window -lsfml-system -lsfml-audio -lsfml-network && start bin/release/main",
"selector": "source.c++",
"shell": true
}
]
}
// {
// "folders":
// [
// {
// "path": "bin/..",
// "file_exclude_patterns": ["*.sublime-project", "*.o"],
// "follow_symlinks": true
// },
// ],
// "build_systems":
// [
// {
// "name": " C++ Build Debug",
// "working_dir": "${project_path}",
// "cmd": "g++ -c src/*.cpp -std=c++14 -Wall -m64 -g -I include && g++ *.o -o bin/debug/main && start bin/debug/main",
// "selector": "source.c++",
// "shell": true
// },
// {
// "name": "C++ Build Release",
// "working_dir": "${project_path}",
// "cmd": "g++ -c src/*.cpp -std=c++14 -m64 -O3 -I include && g++ *.o -o bin/release/main -s -mwindows && start/release/main",
// "selector": "source.c++",
// "shell": true
// }
// ]
// }