Merge pull request #178 from DOCGroup/elliottc/more_databases
[MPC.git] / templates / nmakeexe.mpt
blob758c90d33daa0788ea99dd35131681fb3aaa1b6d
1 // -*- MPC -*-
2 conditional_include "common"
3 conditional_include "windowscommon"
5 type_description      = "Console Application"
6 type_code             = 0x0103
7 configurations        = Debug Release "Static Debug" "Static Release"
8 platforms             = Win32
9 default_configuration = Debug
10 common_defines        = WIN32 _CONSOLE
11 subsystem             = console
12 TreatWChar_tAsBuiltInType = true
13 systemlibs            = advapi32.lib user32.lib
15 Win32 {
16   machine_description = x86
17   machine             = I386
20 Win64 {
21   machine_description = IA64
22   machine             = IA64
23   cpu_defines         = WIN64
24   add_compile         = /Wp64
27 x64 {
28   machine_description = x64
29   machine             = AMD64
30   cpu_defines         = _AMD64_
31   add_compile         = /Wp64
32   platform_defines    = _WIN64
35 Release {
36   use_debug_libraries   = 0
37   optimize              = 1
38   compile_flags         = /W3 /EHsc /MD /GR
39   defines               = NDEBUG
40   compile_flags_removed = /YX
41   output_dir            = Release
42   intermediate_dir      = Release
43   need_staticflags      =
44   debug_switch          =
47 Debug {
48   use_debug_libraries   = 1
49   optimize              =
50   compile_flags         = /W3 /Gm /EHsc /Zi /MDd /GR /Gy
51   defines               = _DEBUG
52   compile_flags_removed = /YX
53   intermediate_dir      = Debug
54   lib_modifier          = d
55   need_staticflags      =
56   pdbl                  = 1
57   pdbc                  = 1
60 Static Release {
61   use_debug_libraries   = 0
62   optimize              = 1
63   compile_flags         = /W3 /EHsc /MD /GR
64   defines               = NDEBUG
65   compile_flags_removed = /YX
66   lib_modifier          = s
67   need_staticflags      = 1
68   output_dir            = Static_Release
69   intermediate_dir      = Static_Release
70   debug_switch          =
73 Static Debug {
74   use_debug_libraries   = 1
75   optimize              =
76   compile_flags         = /W3 /Gm /EHsc /Zi /MDd /GR /Gy
77   defines               = _DEBUG
78   compile_flags_removed = /YX
79   lib_modifier          = sd
80   need_staticflags      = 1
81   output_dir            = Static_Debug
82   intermediate_dir      = Static_Debug
83   pdbl                  = 1
84   pdbc                  = 1
87 MFC Release {
88   subsystem             = windows
89   use_debug_libraries   = 0
90   optimize              = 1
91   compile_flags         = /W3 /EHsc /MD /GR
92   defines               = NDEBUG _AFXDLL
93   compile_flags_removed = /YX
94   output_dir            = MFC_Release
95   intermediate_dir      = MFC_Release
96   lib_modifier          = mfc
97   need_staticflags      =
98   debug_switch          =
99   unicode_mfc_entry     = wWinMainCRTStartup
102 MFC Debug {
103   subsystem             = windows
104   use_debug_libraries   = 1
105   optimize              =
106   compile_flags         = /W3 /Gm /EHsc /Zi /MDd /GR /Gy
107   defines               = _DEBUG _AFXDLL
108   compile_flags_removed = /YX
109   output_dir            = MFC_Debug
110   intermediate_dir      = MFC_Debug
111   lib_modifier          = mfcd
112   need_staticflags      =
113   pdbl                  = 1
114   pdbc                  = 1
115   unicode_mfc_entry     = wWinMainCRTStartup
118 Static MFC Release {
119   subsystem             = windows
120   use_debug_libraries   = 0
121   optimize              = 1
122   compile_flags         = /W3 /EHsc /MD /GR
123   defines               = NDEBUG _AFXDLL
124   compile_flags_removed = /YX
125   lib_modifier          = mfcs
126   need_staticflags      = 1
127   output_dir            = Static_MFC_Release
128   intermediate_dir      = Static_MFC_Release
129   debug_switch          =
130   unicode_mfc_entry     = wWinMainCRTStartup
133 Static MFC Debug {
134   subsystem             = windows
135   use_debug_libraries   = 1
136   optimize              =
137   compile_flags         = /W3 /Gm /EHsc /Zi /MDd /GR /Gy
138   defines               = _DEBUG _AFXDLL
139   compile_flags_removed = /YX
140   lib_modifier          = mfcsd
141   need_staticflags      = 1
142   output_dir            = Static_MFC_Debug
143   intermediate_dir      = Static_MFC_Debug
144   pdbl                  = 1
145   pdbc                  = 1
146   unicode_mfc_entry     = wWinMainCRTStartup
149 conditional_include "vcfullmacros"
150 conditional_include "user_nmakeexe"