import source from 1.3.40
[external/swig.git] / Examples / python / class / example.dsp
1 # Microsoft Developer Studio Project File - Name="example" - Package Owner=<4>\r
2 # Microsoft Developer Studio Generated Build File, Format Version 6.00\r
3 # ** DO NOT EDIT **\r
4 \r
5 # TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102\r
6 \r
7 CFG=example - Win32 Release\r
8 !MESSAGE This is not a valid makefile. To build this project using NMAKE,\r
9 !MESSAGE use the Export Makefile command and run\r
10 !MESSAGE \r
11 !MESSAGE NMAKE /f "example.mak".\r
12 !MESSAGE \r
13 !MESSAGE You can specify a configuration when running NMAKE\r
14 !MESSAGE by defining the macro CFG on the command line. For example:\r
15 !MESSAGE \r
16 !MESSAGE NMAKE /f "example.mak" CFG="example - Win32 Release"\r
17 !MESSAGE \r
18 !MESSAGE Possible choices for configuration are:\r
19 !MESSAGE \r
20 !MESSAGE "example - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")\r
21 !MESSAGE "example - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")\r
22 !MESSAGE \r
23 \r
24 # Begin Project\r
25 # PROP AllowPerConfigDependencies 0\r
26 # PROP Scc_ProjName ""\r
27 # PROP Scc_LocalPath ""\r
28 CPP=cl.exe\r
29 MTL=midl.exe\r
30 RSC=rc.exe\r
31 \r
32 !IF  "$(CFG)" == "example - Win32 Debug"\r
33 \r
34 # PROP BASE Use_MFC 0\r
35 # PROP BASE Use_Debug_Libraries 1\r
36 # PROP BASE Output_Dir "Debug"\r
37 # PROP BASE Intermediate_Dir "Debug"\r
38 # PROP BASE Target_Dir ""\r
39 # PROP Use_MFC 0\r
40 # PROP Use_Debug_Libraries 1\r
41 # PROP Output_Dir "Debug"\r
42 # PROP Intermediate_Dir "Debug"\r
43 # PROP Ignore_Export_Lib 0\r
44 # PROP Target_Dir ""\r
45 # ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "EXAMPLE_EXPORTS" /YX /FD /GZ /c\r
46 # ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "$(PYTHON_INCLUDE)" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "EXAMPLE_EXPORTS" /YX /FD /GZ /c\r
47 # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32\r
48 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32\r
49 # ADD BASE RSC /l 0x809 /d "_DEBUG"\r
50 # ADD RSC /l 0x809 /d "_DEBUG"\r
51 BSC32=bscmake.exe\r
52 # ADD BASE BSC32 /nologo\r
53 # ADD BSC32 /nologo\r
54 LINK32=link.exe\r
55 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /dll /debug /machine:I386 /pdbtype:sept\r
56 # ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib "$(PYTHON_LIB)" /nologo /dll /debug /machine:I386 /out:"_example.pyd" /pdbtype:sept\r
57 \r
58 !ELSEIF  "$(CFG)" == "example - Win32 Release"\r
59 \r
60 # PROP BASE Use_MFC 0\r
61 # PROP BASE Use_Debug_Libraries 0\r
62 # PROP BASE Output_Dir "Release"\r
63 # PROP BASE Intermediate_Dir "Release"\r
64 # PROP BASE Target_Dir ""\r
65 # PROP Use_MFC 0\r
66 # PROP Use_Debug_Libraries 0\r
67 # PROP Output_Dir "Release"\r
68 # PROP Intermediate_Dir "Release"\r
69 # PROP Ignore_Export_Lib 0\r
70 # PROP Target_Dir ""\r
71 # ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "EXAMPLE_EXPORTS" /YX /FD /c\r
72 # ADD CPP /nologo /MT /W3 /GX /O2 /I "$(PYTHON_INCLUDE)" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "EXAMPLE_EXPORTS" /YX /FD /c\r
73 # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
74 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32\r
75 # ADD BASE RSC /l 0x809 /d "NDEBUG"\r
76 # ADD RSC /l 0x809 /d "NDEBUG"\r
77 BSC32=bscmake.exe\r
78 # ADD BASE BSC32 /nologo\r
79 # ADD BSC32 /nologo\r
80 LINK32=link.exe\r
81 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /dll /machine:I386\r
82 # ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib "$(PYTHON_LIB)" /nologo /dll /machine:I386 /out:"_example.pyd"\r
83 \r
84 !ENDIF \r
85 \r
86 # Begin Target\r
87 \r
88 # Name "example - Win32 Debug"\r
89 # Name "example - Win32 Release"\r
90 # Begin Group "Source Files"\r
91 \r
92 # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"\r
93 # Begin Source File\r
94 \r
95 SOURCE=.\example.cxx\r
96 # End Source File\r
97 # Begin Source File\r
98 \r
99 SOURCE=.\example_wrap.cxx\r
100 # End Source File\r
101 # End Group\r
102 # Begin Group "Header Files"\r
103 \r
104 # PROP Default_Filter "h;hpp;hxx;hm;inl"\r
105 # Begin Source File\r
106 \r
107 SOURCE=.\example.h\r
108 # End Source File\r
109 # End Group\r
110 # Begin Group "Resource Files"\r
111 \r
112 # PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"\r
113 # End Group\r
114 # Begin Source File\r
115 \r
116 SOURCE=.\example.i\r
117 \r
118 !IF  "$(CFG)" == "example - Win32 Debug"\r
119 \r
120 # Begin Custom Build\r
121 InputPath=.\example.i\r
122 InputName=example\r
123 \r
124 "$(InputName)_wrap.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
125         echo In order to function correctly, please ensure the following environment variables are correctly set: \r
126         echo PYTHON_INCLUDE: %PYTHON_INCLUDE% \r
127         echo PYTHON_LIB: %PYTHON_LIB% \r
128         echo on \r
129         ..\..\..\swig.exe -c++ -python $(InputPath) \r
130         \r
131 # End Custom Build\r
132 \r
133 !ELSEIF  "$(CFG)" == "example - Win32 Release"\r
134 \r
135 # Begin Custom Build\r
136 InputPath=.\example.i\r
137 InputName=example\r
138 \r
139 "$(InputName)_wrap.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
140         echo In order to function correctly, please ensure the following environment variables are correctly set: \r
141         echo PYTHON_INCLUDE: %PYTHON_INCLUDE% \r
142         echo PYTHON_LIB: %PYTHON_LIB% \r
143         echo on \r
144         ..\..\..\swig.exe -c++ -python $(InputPath) \r
145         \r
146 # End Custom Build\r
147 \r
148 !ENDIF \r
149 \r
150 # End Source File\r
151 # End Target\r
152 # End Project\r