summaryrefslogtreecommitdiff
path: root/ACE/MPC/templates/nmakeexe.mpt
blob: ad8791795607db1fae2a7d77e28f1134fea7e5f9 (plain)
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
// -*- MPC -*-
// $Id$

conditional_include "common"
conditional_include "windowscommon"

type_description      = "Console Application"
type_code             = 0x0103
configurations        = Debug Release "Static Debug" "Static Release"
platforms             = Win32
default_configuration = Debug
common_defines        = WIN32 _CONSOLE
subsystem             = console
TreatWChar_tAsBuiltInType = true
systemlibs            = advapi32.lib user32.lib

Win32 {
  machine_description = x86
  machine             = I386
}

Win64 {
  machine_description = IA64
  machine             = IA64
  cpu_defines         = WIN64
  add_compile         = /Wp64
}

x64 {
  machine_description = x64
  machine             = AMD64
  cpu_defines         = _AMD64_
  add_compile         = /Wp64
  platform_defines    = _WIN64
}

Release {
  use_debug_libraries   = 0
  optimize              = 1
  compile_flags         = /W3 /EHsc /MD /GR
  defines               = NDEBUG
  compile_flags_removed = /YX
  output_dir            = Release
  intermediate_dir      = Release
  need_staticflags      =
  debug_switch          =
}

Debug {
  use_debug_libraries   = 1
  optimize              =
  compile_flags         = /W3 /Gm /EHsc /Zi /MDd /GR /Gy
  defines               = _DEBUG
  compile_flags_removed = /YX
  intermediate_dir      = Debug
  lib_modifier          = d
  need_staticflags      =
  pdbl                  = 1
  pdbc                  = 1
}

Static Release {
  use_debug_libraries   = 0
  optimize              = 1
  compile_flags         = /W3 /EHsc /MD /GR
  defines               = NDEBUG
  compile_flags_removed = /YX
  lib_modifier          = s
  need_staticflags      = 1
  output_dir            = Static_Release
  intermediate_dir      = Static_Release
  debug_switch          =
}

Static Debug {
  use_debug_libraries   = 1
  optimize              =
  compile_flags         = /W3 /Gm /EHsc /Zi /MDd /GR /Gy
  defines               = _DEBUG
  compile_flags_removed = /YX
  lib_modifier          = sd
  need_staticflags      = 1
  output_dir            = Static_Debug
  intermediate_dir      = Static_Debug
  pdbl                  = 1
  pdbc                  = 1
}

MFC Release {
  subsystem             = windows
  use_debug_libraries   = 0
  optimize              = 1
  compile_flags         = /W3 /EHsc /MD /GR
  defines               = NDEBUG _AFXDLL
  compile_flags_removed = /YX
  output_dir            = MFC_Release
  intermediate_dir      = MFC_Release
  lib_modifier          = mfc
  need_staticflags      =
  debug_switch          =
  unicode_mfc_entry     = wWinMainCRTStartup
}

MFC Debug {
  subsystem             = windows
  use_debug_libraries   = 1
  optimize              =
  compile_flags         = /W3 /Gm /EHsc /Zi /MDd /GR /Gy
  defines               = _DEBUG _AFXDLL
  compile_flags_removed = /YX
  output_dir            = MFC_Debug
  intermediate_dir      = MFC_Debug
  lib_modifier          = mfcd
  need_staticflags      =
  pdbl                  = 1
  pdbc                  = 1
  unicode_mfc_entry     = wWinMainCRTStartup
}

Static MFC Release {
  subsystem             = windows
  use_debug_libraries   = 0
  optimize              = 1
  compile_flags         = /W3 /EHsc /MD /GR
  defines               = NDEBUG _AFXDLL
  compile_flags_removed = /YX
  lib_modifier          = mfcs
  need_staticflags      = 1
  output_dir            = Static_MFC_Release
  intermediate_dir      = Static_MFC_Release
  debug_switch          =
  unicode_mfc_entry     = wWinMainCRTStartup
}

Static MFC Debug {
  subsystem             = windows
  use_debug_libraries   = 1
  optimize              =
  compile_flags         = /W3 /Gm /EHsc /Zi /MDd /GR /Gy
  defines               = _DEBUG _AFXDLL
  compile_flags_removed = /YX
  lib_modifier          = mfcsd
  need_staticflags      = 1
  output_dir            = Static_MFC_Debug
  intermediate_dir      = Static_MFC_Debug
  pdbl                  = 1
  pdbc                  = 1
  unicode_mfc_entry     = wWinMainCRTStartup
}

conditional_include "vcfullmacros"
conditional_include "user_nmakeexe"