summaryrefslogtreecommitdiff
path: root/bin/MakeProjectCreator/templates/nmakeexe.mpt
blob: 24df5c8e167f105ff2474d06197bfa75454c0227 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
conditional_include "idl_compiler_win32"
conditional_include "common"

type_description      = "Console Application"
type_code             = 0x0103
configurations        = Release Debug "Static Release" "Static Debug"
platforms             = Win32
default_configuration = Debug
type_is_binary        = 1
common_defines        = WIN32 _CONSOLE
subsystem             = console
pdb                   = 1

Win32 {
  machine_description = x86
  machine             = I386
}

Win64 {
  machine_description = IA64
  machine             = IA64
  cpu_defines         = WIN64
  add_compile         = /Wp64
}

Release {
  use_debug_libraries   = 0
  compile_flags         = /W3 /GX /O2 /MD /GR
  defines               = NDEBUG
  compile_flags_removed = /YX
  output_dir            = Release
  intermediate_dir      = Release
  debug_switch          =
}

Debug {
  use_debug_libraries   = 1
  compile_flags         = /W3 /Gm /GX /Zi /Od /MDd /GR /Gy
  defines               = _DEBUG
  compile_flags_removed = /YX
  output_dir            = .
  intermediate_dir      = Debug
  lib_modifier          = d
}

Static Release {
  use_debug_libraries   = 0
  compile_flags         = /W3 /GX /O2 /MD /GR
  defines               = NDEBUG
  compile_flags_removed = /YX
  lib_modifier          = s
  need_staticflags      = 1
  output_dir            = Static_Release
  intermediate_dir      = Static_Release
  debug_switch          =
}

Static Debug {
  use_debug_libraries   = 1
  compile_flags         = /W3 /Gm /GX /Zi /Od /MDd /GR /Gy
  defines               = _DEBUG
  compile_flags_removed = /YX
  lib_modifier          = sd
  need_staticflags      = 1
  output_dir            = Static_Debug
  intermediate_dir      = Static_Debug
}

MFC Release {
  subsystem             = windows
  use_debug_libraries   = 0
  compile_flags         = /W3 /GX /O2 /MD /GR
  defines               = NDEBUG _AFXDLL
  compile_flags_removed = /YX
  output_dir            = MFC_Release
  intermediate_dir      = MFC_Release
  lib_modifier          = mfc
  debug_switch          =
}

MFC Debug {
  subsystem             = windows
  use_debug_libraries   = 1
  compile_flags         = /W3 /Gm /GX /Zi /Od /MDd /GR /Gy
  defines               = _DEBUG _AFXDLL
  compile_flags_removed = /YX
  output_dir            = MFC_Debug
  intermediate_dir      = MFC_Debug
  lib_modifier          = mfcd
}

Static MFC Release {
  subsystem             = windows
  use_debug_libraries   = 0
  compile_flags         = /W3 /GX /O2 /MD /GR
  defines               = NDEBUG _AFXDLL
  compile_flags_removed = /YX
  lib_modifier          = mfcs
  need_staticflags      = 1
  output_dir            = Static_MFC_Release
  intermediate_dir      = Static_MFC_Release
  debug_switch          =
}

Static MFC Debug {
  subsystem             = windows
  use_debug_libraries   = 1
  compile_flags         = /W3 /Gm /GX /Zi /Od /MDd /GR /Gy
  defines               = _DEBUG _AFXDLL
  compile_flags_removed = /YX
  lib_modifier          = mfcsd
  need_staticflags      = 1
  output_dir            = Static_MFC_Debug
  intermediate_dir      = Static_MFC_Debug
}

conditional_include "vcfullmacros"