summaryrefslogtreecommitdiff
path: root/bin/MakeProjectCreator/templates/em3vcp.mpd
blob: b9cf2a0952f89c6ddc359482c531a7fd6edf256a (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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
# Microsoft eMbedded Visual Tools Project File - Name="<%project_name%>" - Package Owner=<4>
# Microsoft eMbedded Visual Tools Generated Build File, Format Version 6.02
# ** DO NOT EDIT **

<%foreach(platform_longs)%>
# TARGTYPE "<%platform("Win32")%> (<%platform_long%>) <%type_description("Dynamic-Link Library")%>" <%type_code%>
<%endfor%>

CFG=<%project_name%> - <%platform("Win32")%> (<%default_platform_long%>) <%default_configuration%>
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE run the tool that generated this project file and specify the
!MESSAGE nmake output type.  You can then use the following command:
!MESSAGE 
!MESSAGE NMAKE /f "<%make_file_name%>".
!MESSAGE 
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE 
!MESSAGE NMAKE /f "<%make_file_name%>" CFG="<%project_name%> - <%platform%> (<%default_platform_long%>) <%default_configuration%>"
!MESSAGE 
!MESSAGE Possible choices for configuration are:
!MESSAGE 
<%foreach(platform_longs)%>
<%foreach(configurations)%>
!MESSAGE "<%project_name%> - <%platform%> (<%platform_long%>) <%configuration%>" (based on "<%platform%> (<%platform_long%>) <%type_description%>")
<%endfor%>
<%endfor%>
!MESSAGE 

# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
# PROP ATL_Project <%atl_project("2")%>

<%foreach(platform_longs)%>
<%foreach(configurations)%>
!<%fornotfirst("ELSE")%>IF  "$(CFG)" == "<%project_name%> - <%platform%> (<%platform_long%>) <%configuration%>"

# PROP Use_MFC <%use_mfc("0")%>
# PROP Use_Debug_Libraries <%use_debug_libraries("1")%>
<%if(exename)%>
# PROP Output_Dir "<%output_dir%>\<%machine%>"
<%endif%>
<%if(type_is_static)%>
# PROP Output_Dir "<%output_dir%>\<%machine%>"
<%endif%>
<%if(type_is_dynamic)%>
# PROP Output_Dir "<%libout%>\<%machine%>"
<%endif%>
# PROP Intermediate_Dir "<%intermediate_dir%>\<%machine%>"
# PROP CPU_ID "{<%cpu_id%>}"
# PROP Platform_ID "{<%platform_id%>}"
<%if(type_is_dynamic)%>
# PROP Ignore_Export_Lib 0
<%endif%>
# PROP Target_Dir ""
<%if(type_is_static)%>
LINK32=link.exe -lib
<%endif%>
RSC=rc.exe
# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "$(CePlatform)"<%foreach(defines common_defines cpu_defines)%> /d <%define%>=1<%endfor%><%foreach(includes)%> /i "<%include%>"<%endfor%> /r
CPP=<%cpp("cl.exe")%>
# ADD CPP /nologo <%compile_flags%> <%foreach(includes)%>/I "<%include%>" <%endfor%>/D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D UNDER_CE=$(CEVersion) <%foreach(defines common_defines cpu_defines)%>/D <%define%> <%endfor%><%if(type_is_dynamic)%><%foreach(dllflags)%>/D <%dllflag%>=1 <%endfor%><%endif%><%if(need_libflags)%><%foreach(libflags)%>/D <%libflag%>=1 <%endfor%><%endif%><%if(pch_header)%><%foreach(pch_defines)%>/D <%pch_define%> <%endfor%><%if(pch_source)%>/Yu<%else%>/YX<%endif%>"<%pch_header%>" /Fp"<%intermediate_dir%>\<%noextension(pch_header)%>.pch" <%endif%>/FR /M$(CECrtMT) /FD /c
<%if(compile_flags_removed)%>
# SUBTRACT CPP <%compile_flags_removed%>
<%endif%>
BSC32=bscmake.exe
# ADD BSC32 /nologo <%if(sharedname)%>/o"<%libout%>\<%sharedname%>.bsc"<%endif%>
<%if(type_is_binary)%>
LINK32=link.exe
# ADD LINK32 <%systemlibs("winsock.lib commctrl.lib coredll.lib iphlpapi.lib")%> <%if(ssl)%><%foreach(ssl_libs)%><%ssl_lib%>.lib <%endfor%><%endif%>/INCREMENTAL:<%incremental("NO")%> <%foreach(libs defaultlibs)%><%lib%><%lib_modifier%>.lib <%endfor%><%foreach(libpaths)%>/libpath:"<%libpath%>\<%machine%>" <%endfor%>/nologo /base:"<%base("0x00100000")%>" /stack:<%stack("0x10000,0x1000")%> /entry:"_DllMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /version:<%version("1.0")%> /subsystem:$(CESubsystem) /align:"<%align("4096")%>" <%if(type_is_dynamic)%> /dll<%endif%> <%if(use_debug_libraries)%>/debug<%endif%> <%if(pdb)%><%if(sharedname)%>/pdb:<%sharedname%><%lib_modifier%>.pdb <%endif%><%endif%>/machine:<%machine%> /out:"<%if(sharedname)%><%dllout%>\<%machine%>\<%sharedname%><%lib_modifier%>.dll<%endif%><%if(exename)%><%if(install)%><%install%>\<%endif%><%machine%>\<%exename%>.exe<%endif%>"
<%if(link_flags_removed)%>
# SUBTRACT LINK32 <%link_flags_removed%>
<%endif%>
<%endif%>
<%if(type_is_static)%>
LIB32=link.exe -lib
# ADD LIB32 /nologo /out:"<%libout%>\<%machine%>\<%staticname%><%lib_modifier%>.lib"
<%endif%>

<%endfor%>
!ENDIF 
<%endfor%>


# Begin Target

<%foreach(platform_longs)%>
<%foreach(configurations)%>
# Name "<%project_name%> - <%platform%> (<%platform_long%>) <%configuration%>"
<%endfor%>
<%endfor%>
# Begin Group "Source Files"

# PROP Default_Filter "cpp;cxx;c"
<%if(pch_source)%>
<%if(pch_header)%>
# Begin Source File

SOURCE=.\<%pch_source%>
# ADD CPP /Yc"<%pch_header%>"
# End Source File
<%endif%>
<%endif%>
<%foreach(source_files)%>
# Begin Source File

SOURCE=.\<%source_file%>
# End Source File
<%endfor%>
# End Group
<%if(header_files)%>
# Begin Group "Header Files"

# PROP Default_Filter "h;hpp;hxx;hh"
<%if(pch_header)%>
# Begin Source File

SOURCE=.\<%pch_header%>
# End Source File
<%endif%>
<%foreach(header_files)%>
# Begin Source File

SOURCE=.\<%header_file%>
# End Source File
<%endfor%>
# End Group
<%endif%>
<%if(inline_files)%>
# Begin Group "Inline Files"

# PROP Default_Filter "i;inl"
<%foreach(inline_files)%>
# Begin Source File

SOURCE=.\<%inline_file%>
# End Source File
<%endfor%>
# End Group
<%endif%>
<%if(template_files)%>
# Begin Group "Template Files"

# PROP Default_Filter ""
<%foreach(template_files)%>
# Begin Source File

SOURCE=.\<%template_file%>
# PROP Exclude_From_Build 1
# End Source File
<%endfor%>
# End Group
<%endif%>
<%if(documentation_files)%>
# Begin Group "Documentation"

# PROP Default_Filter ""
<%foreach(documentation_files)%>
# Begin Source File

SOURCE=.\<%documentation_file%>
# End Source File
<%endfor%>
# End Group
<%endif%>
<%if(resource_files)%>
# Begin Group "Resource Files"

# PROP Default_Filter "rc;ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe"
<%foreach(resource_files)%>
# Begin Source File

SOURCE=.\<%resource_file%>
# End Source File
<%endfor%>
# End Group
<%endif%>
<%if(idl_files)%>
# Begin Group "IDL Files"

# PROP Default_Filter "idl"
<%foreach(idl_files)%>
# Begin Source File

SOURCE=.\<%idl_file%>

<%foreach(platform_longs)%>
<%foreach(configurations)%>
!<%fornotfirst("ELSE")%>IF  "$(CFG)" == "<%project_name%> - <%platform%> (<%platform_long%>) <%configuration%>"

# PROP Ignore_Default_Tool 1
# Begin Custom Build - Invoking TAO_IDL Compiler on $(InputPath)
InputPath=.\<%idl_file%>
InputName=<%basenoextension(idl_file)%>
InputDir=<%dirname(idl_file)%>
<%if(flag_overrides(idl_file, idlgendir))%>
OutDir=<%flag_overrides(idl_file, idlgendir)%>
<%else%>
<%if(idlgendir)%>
OutDir=<%idlgendir%>
<%else%>
<%if(dirname_found)%>
OutDir=$(InputDir)
<%else%>
OutDir=.
<%endif%>
<%endif%>
<%endif%>

BuildCmds= \
	<%tao_idl_exe("$(ACE_ROOT)\\bin\\tao_idl")%> -o $(OutDir) <%if(flag_overrides(idl_file, idlflags))%><%flag_overrides(idl_file, idlflags)%><%else%><%idlflags("-Sc")%><%endif%> $(InputPath)

"$(OutDir)\$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
   $(BuildCmds)

"$(OutDir)\$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
   $(BuildCmds)

"$(OutDir)\$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
   $(BuildCmds)

"$(OutDir)\$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
   $(BuildCmds)

"$(OutDir)\$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
   $(BuildCmds)

"$(OutDir)\$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
   $(BuildCmds)

# End Custom Build

<%endfor%>
!ENDIF
<%endfor%>

# End Source File
<%endfor%>
# End Group
<%endif%>
# End Target
# End Project