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