From 26705b5f7f53aca8244696da4be7d741d392f326 Mon Sep 17 00:00:00 2001 From: Don Heyse Date: Tue, 10 Dec 2002 15:41:37 +0000 Subject: [PATCH] Allow DLL and static library build on Windows. git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@42 7f0cb862-5218-0410-a997-914c9d46530a --- freeglut.dsw | 16 ++++- freeglutdll.dsp | 189 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 203 insertions(+), 2 deletions(-) create mode 100644 freeglutdll.dsp diff --git a/freeglut.dsw b/freeglut.dsw index 1040dd6..883b368 100755 --- a/freeglut.dsw +++ b/freeglut.dsw @@ -1,9 +1,21 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00 +Microsoft Developer Studio Workspace File, Format Version 6.00 # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! ############################################################################### -Project: "freeglut13"=.\freeglut13.dsp - Package Owner=<4> +Project: "freeglut"=.\freeglut.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "freeglutdll"=.\freeglutdll.dsp - Package Owner=<4> Package=<5> {{{ diff --git a/freeglutdll.dsp b/freeglutdll.dsp new file mode 100644 index 0000000..1ca59db --- /dev/null +++ b/freeglutdll.dsp @@ -0,0 +1,189 @@ +# Microsoft Developer Studio Project File - Name="freeglutdll" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 + +CFG=freeglutdll - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "freeglutdll.mak". +!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 "freeglutdll.mak" CFG="freeglutdll - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "freeglutdll - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "freeglutdll - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "freeglutdll - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "FREEGLUT_LIBRARY_BUILD" /D "FREEGLUT_DLL" /YX /FD /c +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD BASE RSC /l 0x415 /d "NDEBUG" +# ADD RSC /l 0x415 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /machine:I386 + +!ELSEIF "$(CFG)" == "freeglutdll - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "FREEGLUT_LIBRARY_BUILD" /D "FREEGLUT_DLL" /YX /FD /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD BASE RSC /l 0x415 /d "_DEBUG" +# ADD RSC /l 0x415 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept + +!ENDIF + +# Begin Target + +# Name "freeglutdll - Win32 Release" +# Name "freeglutdll - Win32 Debug" +# Begin Group "Sources" + +# PROP Default_Filter "*.c" +# Begin Source File + +SOURCE=".\freeglut-1.3\freeglut_callbacks.c" +# End Source File +# Begin Source File + +SOURCE=".\freeglut-1.3\freeglut_cursor.c" +# End Source File +# Begin Source File + +SOURCE=".\freeglut-1.3\freeglut_display.c" +# End Source File +# Begin Source File + +SOURCE=".\freeglut-1.3\freeglut_font.c" +# End Source File +# Begin Source File + +SOURCE=".\freeglut-1.3\freeglut_font_data.c" +# End Source File +# Begin Source File + +SOURCE=".\freeglut-1.3\freeglut_gamemode.c" +# End Source File +# Begin Source File + +SOURCE=".\freeglut-1.3\freeglut_geometry.c" +# End Source File +# Begin Source File + +SOURCE=".\freeglut-1.3\freeglut_init.c" +# End Source File +# Begin Source File + +SOURCE=".\freeglut-1.3\freeglut_joystick.c" +# End Source File +# Begin Source File + +SOURCE=".\freeglut-1.3\freeglut_main.c" +# End Source File +# Begin Source File + +SOURCE=".\freeglut-1.3\freeglut_menu.c" +# End Source File +# Begin Source File + +SOURCE=".\freeglut-1.3\freeglut_misc.c" +# End Source File +# Begin Source File + +SOURCE=".\freeglut-1.3\freeglut_overlay.c" +# End Source File +# Begin Source File + +SOURCE=".\freeglut-1.3\freeglut_state.c" +# End Source File +# Begin Source File + +SOURCE=".\freeglut-1.3\freeglut_stroke_mono_roman.c" +# End Source File +# Begin Source File + +SOURCE=".\freeglut-1.3\freeglut_stroke_roman.c" +# End Source File +# Begin Source File + +SOURCE=".\freeglut-1.3\freeglut_structure.c" +# End Source File +# Begin Source File + +SOURCE=".\freeglut-1.3\freeglut_teapot.c" +# End Source File +# Begin Source File + +SOURCE=".\freeglut-1.3\freeglut_videoresize.c" +# End Source File +# Begin Source File + +SOURCE=".\freeglut-1.3\freeglut_window.c" +# End Source File +# End Group +# Begin Group "Headers" + +# PROP Default_Filter "*.h" +# Begin Source File + +SOURCE=.\include\Gl\freeglut.h +# End Source File +# Begin Source File + +SOURCE=.\include\Gl\freeglut_internal.h +# End Source File +# End Group +# Begin Source File + +SOURCE=".\freeglut-1.3\freeglutdll.def" +# End Source File +# End Target +# End Project -- 1.7.10.4