Subversion Repositories gelsvn

Rev

Rev 198 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
107 bj 1
// -*- MPC -*-
2
// $Id: nmakeexe.mpt 217 2006-05-05 09:35:48Z bj $
3
 
4
conditional_include "common"
5
conditional_include "windowscommon"
6
 
7
type_description      = "Console Application"
8
type_code             = 0x0103
9
configurations        = Debug Release "Static Debug" "Static Release"
10
platforms             = Win32
11
default_configuration = Debug
12
common_defines        = WIN32 _CONSOLE
13
subsystem             = console
14
use_exe_modifier      =
15
 
16
Win32 {
17
  machine_description = x86
18
  machine             = I386
19
}
20
 
21
Win64 {
22
  machine_description = IA64
23
  machine             = IA64
24
  cpu_defines         = WIN64
25
  add_compile         = /Wp64
26
}
27
 
217 bj 28
x64 {
29
  machine_description = x64
30
  machine             = AMD64
31
  cpu_defines         = _M_AMD64 _AMD64_
198 bj 32
  add_compile         = /Wp64
217 bj 33
  platform_defines    = _WIN64
198 bj 34
}
35
 
107 bj 36
Release {
37
  use_debug_libraries   = 0
38
  optimize              = 1
39
  compile_flags         = /W3 /EHs /MD /GR
40
  defines               = NDEBUG
41
  compile_flags_removed = /YX
42
  output_dir            = Release
43
  intermediate_dir      = Release
44
  need_staticflags      =
45
  debug_switch          =
46
}
47
 
48
Debug {
49
  use_debug_libraries   = 1
50
  optimize              =
51
  compile_flags         = /W3 /Gm /EHs /Zi /MDd /GR /Gy
52
  defines               = _DEBUG
53
  compile_flags_removed = /YX
54
  output_dir            = .
55
  intermediate_dir      = Debug
56
  lib_modifier          = d
57
  need_staticflags      =
58
  pdbl                  = 1
59
  pdbc                  = 1
60
}
61
 
62
Static Release {
63
  use_debug_libraries   = 0
64
  optimize              = 1
65
  compile_flags         = /W3 /EHs /MD /GR
66
  defines               = NDEBUG
67
  compile_flags_removed = /YX
68
  lib_modifier          = s
69
  need_staticflags      = 1
70
  output_dir            = Static_Release
71
  intermediate_dir      = Static_Release
72
  debug_switch          =
73
}
74
 
75
Static Debug {
76
  use_debug_libraries   = 1
77
  optimize              =
78
  compile_flags         = /W3 /Gm /EHs /Zi /MDd /GR /Gy
79
  defines               = _DEBUG
80
  compile_flags_removed = /YX
81
  lib_modifier          = sd
82
  need_staticflags      = 1
83
  output_dir            = Static_Debug
84
  intermediate_dir      = Static_Debug
85
  pdbl                  = 1
86
  pdbc                  = 1
87
}
88
 
89
MFC Release {
90
  subsystem             = windows
91
  use_debug_libraries   = 0
92
  optimize              = 1
93
  compile_flags         = /W3 /EHs /MD /GR
94
  defines               = NDEBUG _AFXDLL
95
  compile_flags_removed = /YX
96
  output_dir            = MFC_Release
97
  intermediate_dir      = MFC_Release
98
  lib_modifier          = mfc
99
  need_staticflags      =
100
  debug_switch          =
101
  unicode_mfc_entry     = wWinMainCRTStartup
102
}
103
 
104
MFC Debug {
105
  subsystem             = windows
106
  use_debug_libraries   = 1
107
  optimize              =
108
  compile_flags         = /W3 /Gm /EHs /Zi /MDd /GR /Gy
109
  defines               = _DEBUG _AFXDLL
110
  compile_flags_removed = /YX
111
  output_dir            = MFC_Debug
112
  intermediate_dir      = MFC_Debug
113
  lib_modifier          = mfcd
114
  need_staticflags      =
115
  pdbl                  = 1
116
  pdbc                  = 1
117
  unicode_mfc_entry     = wWinMainCRTStartup
118
}
119
 
120
Static MFC Release {
121
  subsystem             = windows
122
  use_debug_libraries   = 0
123
  optimize              = 1
124
  compile_flags         = /W3 /EHs /MD /GR
125
  defines               = NDEBUG _AFXDLL
126
  compile_flags_removed = /YX
127
  lib_modifier          = mfcs
128
  need_staticflags      = 1
129
  output_dir            = Static_MFC_Release
130
  intermediate_dir      = Static_MFC_Release
131
  debug_switch          =
132
  unicode_mfc_entry     = wWinMainCRTStartup
133
}
134
 
135
Static MFC Debug {
136
  subsystem             = windows
137
  use_debug_libraries   = 1
138
  optimize              =
139
  compile_flags         = /W3 /Gm /EHs /Zi /MDd /GR /Gy
140
  defines               = _DEBUG _AFXDLL
141
  compile_flags_removed = /YX
142
  lib_modifier          = mfcsd
143
  need_staticflags      = 1
144
  output_dir            = Static_MFC_Debug
145
  intermediate_dir      = Static_MFC_Debug
146
  pdbl                  = 1
147
  pdbc                  = 1
148
  unicode_mfc_entry     = wWinMainCRTStartup
149
}
150
 
151
conditional_include "vcfullmacros"
152
conditional_include "user_nmakeexe"