-
Notifications
You must be signed in to change notification settings - Fork 0
/
.myproject
95 lines (70 loc) · 1.98 KB
/
.myproject
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
#Configuration for compiling mymake.
absolutePath=yes
#Build mymake
[project]
#input=src
explicitTargets=yes
execute=no
[build]
#How to build each target.
#Nothing special required.
[deps]
#Dependencies
#Src needs explicit dependency on textinc
src+=templates
templates+=textinc
[build,standalone]
textinc+=standalone
src+=standalone
[]
#Global configuration
ext=cpp
buildDir=build/
execDir=../bin/
[release]
buildDir=release/
execDir=../release/
[release,build]
#Only mymake itself needs a release version. The textinc is only used during compilation anyway.
src+=release
#The setup does need it as well.
setup+=release
[release,pdb,build]
src+=pdb
#Use the global config unless 'standalone' is used on the command line.
[unix,standalone]
execExt=
intermediateExt=o
includeCl=-iquote
libraryCl=-l
localLibraryCl=
flags=-std=c++11 -Wall -Wextra
pchFile=stdafx.h.gch
pchCompile=g++ <flags> <file> -c <includes> -o <output>
pchCompileCombined=no
usePch=-include <noExt|pchFile>
compile=*:g++ <flags> <usePch*if|pch> <file> -c <includes> -o <output>
link=g++ <libs> <files> -o <output>
[windows,standalone]
execExt=exe
intermediateExt=obj
includeCl=/I
libraryCl=
localLibraryCl=
flags=/nologo /EHsc
pchFile=stdafx.pch
usePch=/Yu
namePch=/Fp<pchFile>
pchCompile=cl <file> <includes> <flags> /Yc<title|pch> <namePch*if|pch> /c /Fo<output>
pchCompileCombined=yes
compile=*:cl <file> <incudes> <flags> <usePch*title|pch> <namePch*if|pch> /c /Fo<output>
link=link <libs> <files> /nologo /OUT:<output>
#Good if the global .mymake is broken
[windows,standalone,env]
#Environment variables for Visual Studio 2008
env+=INCLUDE=>C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\INCLUDE
env+=INCLUDE=>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include
env+=LIB=>C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\LIB
env+=LIB=>C:\Program Files\Microsoft SDKs\Windows\v6.0A\lib
env+=Path<=C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin
env+=Path<=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN