Merge pull request #124 from DOCGroup/jwillemsen-patch-1
[MPC.git] / templates / nmakedll.mpt
blobfa5e56777347cf6439c4dbf695c4d3ae079e79c4
1 // -*- MPC -*-
2 conditional_include "common"
3 conditional_include "windowscommon"
5 configurations        = Debug Release "Static Debug" "Static Release"
6 platforms             = Win32
7 default_configuration = Debug
8 common_defines        = WIN32 _WINDOWS
9 TreatWChar_tAsBuiltInType = true
10 systemlibs            = advapi32.lib user32.lib
12 Win32 {
13   machine_description = x86
14   machine             = I386
17 Win64 {
18   machine_description = IA64
19   machine             = IA64
20   cpu_defines         = WIN64
21   add_compile         = /Wp64
24 x64 {
25   machine_description = x64
26   machine             = AMD64
27   cpu_defines         = _AMD64_
28   add_compile         = /Wp64
29   platform_defines    = _WIN64
32 Release {
33   type_code             = 0x0102
34   use_debug_libraries   = 0
35   optimize              = 1
36   compile_flags         = /W3 /EHsc /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      =
48 Debug {
49   type_code             = 0x0102
50   use_debug_libraries   = 1
51   optimize              =
52   compile_flags         = /W3 /Gm /EHsc /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
66 Static Release {
67   type_description      = "Static Library"
68   type_code             = 0x0104
69   use_debug_libraries   = 0
70   optimize              = 1
71   compile_flags         = /W3 /EHsc /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
84 Static Debug {
85   type_description      = "Static Library"
86   type_code             = 0x0104
87   use_debug_libraries   = 1
88   optimize              =
89   compile_flags         = /W3 /Gm /EHsc /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
102 MFC Release {
103   type_code             = 0x0102
104   use_debug_libraries   = 0
105   optimize              = 1
106   compile_flags         = /W3 /EHsc /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      =
119 MFC Debug {
120   type_code             = 0x0102
121   use_debug_libraries   = 1
122   optimize              =
123   compile_flags         = /W3 /Gm /EHsc /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
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 /EHsc /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
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 /EHsc /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
173 conditional_include "vcfullmacros"
174 conditional_include "user_nmakedll"