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