Subversion Repositories gelsvn

Rev

Rev 107 | 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: nmakedll.mpt 198 2005-12-15 11:30:53Z bj $
3
 
4
conditional_include "common"
5
conditional_include "windowscommon"
6
 
7
configurations        = Debug Release "Static Debug" "Static Release"
8
platforms             = Win32
9
default_configuration = Debug
10
common_defines        = WIN32 _WINDOWS
11
use_lib_modifier      = 1
12
 
13
Win32 {
14
  machine_description = x86
15
  machine             = I386
16
}
17
 
18
Win64 {
19
  machine_description = IA64
20
  machine             = IA64
21
  cpu_defines         = WIN64
22
  add_compile         = /Wp64
23
}
24
 
198 bj 25
WinX86_64 {
26
  machine_description = X86_64
27
  machine             = X64
28
  cpu_defines         = WIN64
29
  add_compile         = /Wp64
30
}
31
 
107 bj 32
Release {
33
  type_code             = 0x0102
34
  use_debug_libraries   = 0
35
  optimize              = 1
36
  compile_flags         = /W3 /EHs /MD /GR
37
  defines               = NDEBUG
38
  compile_flags_removed = /YX
39
  output_dir            = Release
40
  intermediate_dir      = Release
41
  debug_switch          =
42
  type_is_static        =
43
  type_is_dynamic       = 1
44
  type_is_binary        = 1
45
  need_staticflags      =
46
}
47
 
48
Debug {
49
  type_code             = 0x0102
50
  use_debug_libraries   = 1
51
  optimize              =
52
  compile_flags         = /W3 /Gm /EHs /Zi /MDd /GR /Gy
53
  defines               = _DEBUG
54
  compile_flags_removed = /Fr /YX
55
  output_dir            = .
56
  intermediate_dir      = Debug
57
  lib_modifier          = d
58
  type_is_static        =
59
  type_is_dynamic       = 1
60
  type_is_binary        = 1
61
  need_staticflags      =
62
  pdbl                  = 1
63
  pdbc                  = 1
64
}
65
 
66
Static Release {
67
  type_description      = "Static Library"
68
  type_code             = 0x0104
69
  use_debug_libraries   = 0
70
  optimize              = 1
71
  compile_flags         = /W3 /EHs /MD /GR
72
  defines               = NDEBUG
73
  compile_flags_removed = /YX
74
  output_dir            = Static_Release
75
  intermediate_dir      = Static_Release
76
  lib_modifier          = s
77
  debug_switch          =
78
  type_is_static        = 1
79
  type_is_binary        =
80
  type_is_dynamic       =
81
  need_staticflags      = 1
82
}
83
 
84
Static Debug {
85
  type_description      = "Static Library"
86
  type_code             = 0x0104
87
  use_debug_libraries   = 1
88
  optimize              =
89
  compile_flags         = /W3 /Gm /EHs /Zi /GR /Gy /MDd
90
  defines               = _DEBUG
91
  compile_flags_removed = /Fr /YX
92
  output_dir            = Static_Debug
93
  intermediate_dir      = Static_Debug
94
  lib_modifier          = sd
95
  type_is_static        = 1
96
  type_is_binary        =
97
  type_is_dynamic       =
98
  need_staticflags      = 1
99
  pdbc                  = 1
100
}
101
 
102
MFC Release {
103
  type_code             = 0x0102
104
  use_debug_libraries   = 0
105
  optimize              = 1
106
  compile_flags         = /W3 /EHs /MD /GR
107
  defines               = NDEBUG
108
  compile_flags_removed = /YX
109
  output_dir            = MFC_Release
110
  intermediate_dir      = MFC_Release
111
  lib_modifier          = mfc
112
  debug_switch          =
113
  type_is_static        =
114
  type_is_dynamic       = 1
115
  type_is_binary        = 1
116
  need_staticflags      =
117
}
118
 
119
MFC Debug {
120
  type_code             = 0x0102
121
  use_debug_libraries   = 1
122
  optimize              =
123
  compile_flags         = /W3 /Gm /EHs /Zi /MDd /GR /Gy
124
  defines               = _DEBUG
125
  compile_flags_removed = /Fr /YX
126
  output_dir            = MFC_Debug
127
  intermediate_dir      = MFC_Debug
128
  lib_modifier          = mfcd
129
  type_is_static        =
130
  type_is_dynamic       = 1
131
  type_is_binary        = 1
132
  need_staticflags      =
133
  pdbl                  = 1
134
  pdbc                  = 1
135
}
136
 
137
Static MFC Release {
138
  type_description      = "Static Library"
139
  type_code             = 0x0104
140
  use_debug_libraries   = 0
141
  optimize              = 1
142
  compile_flags         = /W3 /EHs /MD /GR
143
  defines               = NDEBUG
144
  compile_flags_removed = /YX
145
  output_dir            = Static_MFC_Release
146
  intermediate_dir      = Static_MFC_Release
147
  lib_modifier          = mfcs
148
  debug_switch          =
149
  type_is_static        = 1
150
  type_is_binary        =
151
  type_is_dynamic       =
152
  need_staticflags      = 1
153
}
154
 
155
Static MFC Debug {
156
  type_description      = "Static Library"
157
  type_code             = 0x0104
158
  use_debug_libraries   = 1
159
  optimize              =
160
  compile_flags         = /W3 /Gm /EHs /Zi /GR /Gy /MDd
161
  defines               = _DEBUG
162
  compile_flags_removed = /Fr /YX
163
  output_dir            = Static_MFC_Debug
164
  intermediate_dir      = Static_MFC_Debug
165
  lib_modifier          = mfcsd
166
  type_is_static        = 1
167
  type_is_binary        =
168
  type_is_dynamic       =
169
  need_staticflags      = 1
170
  pdbc                  = 1
171
}
172
 
173
conditional_include "vcfullmacros"
174
conditional_include "user_nmakedll"