From: Vadim Zeitlin Date: Thu, 4 Oct 2001 01:46:06 +0000 (+0000) Subject: new project files for wxBase apps X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/17d5cf65bd47084f6b87ccbf23f50f3f04664e9e?ds=sidebyside;hp=5e46051f911b3b510d33064db408bd504455b86e new project files for wxBase apps git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/console/console.cpp b/samples/console/console.cpp index f7f43fc2ea..a5437eb7c0 100644 --- a/samples/console/console.cpp +++ b/samples/console/console.cpp @@ -54,7 +54,7 @@ //#define TEST_FILENAME //#define TEST_FTP //#define TEST_HASH -#define TEST_INFO_FUNCTIONS +//#define TEST_INFO_FUNCTIONS //#define TEST_LIST //#define TEST_LOCALE //#define TEST_LOG @@ -64,7 +64,7 @@ //#define TEST_REGCONF //#define TEST_REGEX //#define TEST_REGISTRY -//#define TEST_SNGLINST +#define TEST_SNGLINST //#define TEST_SOCKETS //#define TEST_STREAMS //#define TEST_STRINGS diff --git a/samples/console/console.dsp b/samples/console/console.dsp new file mode 100644 index 0000000000..5563cf8b35 --- /dev/null +++ b/samples/console/console.dsp @@ -0,0 +1,235 @@ +# Microsoft Developer Studio Project File - Name="console" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Console Application" 0x0103 + +CFG=console - 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 "console.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 "console.mak" CFG="console - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "console - Win32 Release Unicode DLL" (based on "Win32 (x86) Console Application") +!MESSAGE "console - Win32 Debug Unicode DLL" (based on "Win32 (x86) Console Application") +!MESSAGE "console - Win32 Debug Unicode" (based on "Win32 (x86) Console Application") +!MESSAGE "console - Win32 Release DLL" (based on "Win32 (x86) Console Application") +!MESSAGE "console - Win32 Debug DLL" (based on "Win32 (x86) Console Application") +!MESSAGE "console - Win32 Release" (based on "Win32 (x86) Console Application") +!MESSAGE "console - Win32 Debug" (based on "Win32 (x86) Console Application") +!MESSAGE + +# Begin Project +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "console - Win32 Release Unicode DLL" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "BaseReleaseUnicodeDll" +# PROP BASE Intermediate_Dir "BaseReleaseUnicodeDll" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "BaseReleaseUnicodeDll" +# PROP Intermediate_Dir "BaseReleaseUnicodeDll" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W4 /O2 /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /YX /FD /c +# ADD CPP /nologo /W4 /O2 /I "..\..\include" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D WIN32 /D WINVER=0x400 /D _MT /D wxUSE_GUI=0 /YX /FD /c /MD /D WXUSINGDLL /D _UNICODE /D UNICODE /I..\..\lib\basedllu +# ADD BASE RSC /l 0x409 /d "NDEBUG" /I "..\..\include" +# ADD RSC /l 0x409 /d "NDEBUG" /I "..\..\include" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib wsock32.lib /nologo /subsystem:console /machine:I386 +# ADD LINK32 kernel32.lib user32.lib advapi32.lib wsock32.lib /nologo /subsystem:console /machine:I386 ..\..\lib\wxbase232u.lib + +!IF "$(CFG)" == "console - Win32 Debug Unicode DLL" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "BaseDebugUnicodeDll" +# PROP BASE Intermediate_Dir "BaseDebugUnicodeDll" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "BaseDebugUnicodeDll" +# PROP Intermediate_Dir "BaseDebugUnicodeDll" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W4 /Zi /Od /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /YX /FD /c +# ADD CPP /nologo /W4 /Zi /Od /I "..\..\include" /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /D WIN32 /D WINVER=0x400 /D _MT /D wxUSE_GUI=0 /YX /FD /c /MDd /D "__WXDEBUG__" /D "WXDEBUG=1" /D WXUSINGDLL /D _UNICODE /D UNICODE /I..\..\lib\basedllud +# ADD BASE RSC /l 0x409 /d "_DEBUG" /I "..\..\include" +# ADD RSC /l 0x409 /d "_DEBUG" /I "..\..\include" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib wsock32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib advapi32.lib wsock32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept ..\..\lib\wxbase232ud.lib + +!IF "$(CFG)" == "console - Win32 Release Unicode" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "BaseReleaseUnicode" +# PROP BASE Intermediate_Dir "BaseReleaseUnicode" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "BaseReleaseUnicode" +# PROP Intermediate_Dir "BaseReleaseUnicode" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W4 /O2 /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /YX /FD /c +# ADD CPP /nologo /W4 /O2 /I "..\..\include" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D WIN32 /D WINVER=0x400 /D _MT /D wxUSE_GUI=0 /YX /FD /c /MD /D _UNICODE /D UNICODE /I..\..\lib\baseu +# ADD BASE RSC /l 0x409 /d "NDEBUG" /I "..\..\include" +# ADD RSC /l 0x409 /d "NDEBUG" /I "..\..\include" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib wsock32.lib /nologo /subsystem:console /machine:I386 +# ADD LINK32 kernel32.lib user32.lib advapi32.lib wsock32.lib /nologo /subsystem:console /machine:I386 ..\..\lib\zlib.lib ..\..\lib\regex.lib ..\..\lib\wxbaseu.lib + +!IF "$(CFG)" == "console - Win32 Debug Unicode" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "BaseDebugUnicode" +# PROP BASE Intermediate_Dir "BaseDebugUnicode" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "BaseDebugUnicode" +# PROP Intermediate_Dir "BaseDebugUnicode" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W4 /Zi /Od /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /YX /FD /c +# ADD CPP /nologo /W4 /Zi /Od /I "..\..\include" /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /D WIN32 /D WINVER=0x400 /D _MT /D wxUSE_GUI=0 /YX /FD /c /MDd /D "__WXDEBUG__" /D "WXDEBUG=1" /D _UNICODE /D UNICODE /I..\..\lib\baseud +# ADD BASE RSC /l 0x409 /d "_DEBUG" /I "..\..\include" +# ADD RSC /l 0x409 /d "_DEBUG" /I "..\..\include" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib wsock32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib advapi32.lib wsock32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept ..\..\lib\zlibd.lib ..\..\lib\regexd.lib ..\..\lib\wxbaseud.lib + +!IF "$(CFG)" == "console - Win32 Release DLL" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "BaseReleaseDll" +# PROP BASE Intermediate_Dir "BaseReleaseDll" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "BaseReleaseDll" +# PROP Intermediate_Dir "BaseReleaseDll" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W4 /O2 /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /YX /FD /c +# ADD CPP /nologo /W4 /O2 /I "..\..\include" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D WIN32 /D WINVER=0x400 /D _MT /D wxUSE_GUI=0 /YX /FD /c /MD /D WXUSINGDLL /I..\..\lib\basedll +# ADD BASE RSC /l 0x409 /d "NDEBUG" /I "..\..\include" +# ADD RSC /l 0x409 /d "NDEBUG" /I "..\..\include" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib wsock32.lib /nologo /subsystem:console /machine:I386 +# ADD LINK32 kernel32.lib user32.lib advapi32.lib wsock32.lib /nologo /subsystem:console /machine:I386 ..\..\lib\wxbase232.lib + +!IF "$(CFG)" == "console - Win32 Debug DLL" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "BaseDebugDll" +# PROP BASE Intermediate_Dir "BaseDebugDll" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "BaseDebugDll" +# PROP Intermediate_Dir "BaseDebugDll" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W4 /Zi /Od /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /YX /FD /c +# ADD CPP /nologo /W4 /Zi /Od /I "..\..\include" /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /D WIN32 /D WINVER=0x400 /D _MT /D wxUSE_GUI=0 /YX /FD /c /MDd /D "__WXDEBUG__" /D "WXDEBUG=1" /D WXUSINGDLL /I..\..\lib\basedlld +# ADD BASE RSC /l 0x409 /d "_DEBUG" /I "..\..\include" +# ADD RSC /l 0x409 /d "_DEBUG" /I "..\..\include" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib wsock32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib advapi32.lib wsock32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept ..\..\lib\wxbase232d.lib + +!IF "$(CFG)" == "console - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "BaseRelease" +# PROP BASE Intermediate_Dir "BaseRelease" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "BaseRelease" +# PROP Intermediate_Dir "BaseRelease" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W4 /O2 /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /YX /FD /c +# ADD CPP /nologo /W4 /O2 /I "..\..\include" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D WIN32 /D WINVER=0x400 /D _MT /D wxUSE_GUI=0 /YX /FD /c /MD /I..\..\lib\base +# ADD BASE RSC /l 0x409 /d "NDEBUG" /I "..\..\include" +# ADD RSC /l 0x409 /d "NDEBUG" /I "..\..\include" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib wsock32.lib /nologo /subsystem:console /machine:I386 +# ADD LINK32 kernel32.lib user32.lib advapi32.lib wsock32.lib /nologo /subsystem:console /machine:I386 ..\..\lib\zlib.lib ..\..\lib\regex.lib ..\..\lib\wxbase.lib + +!IF "$(CFG)" == "console - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "BaseDebug" +# PROP BASE Intermediate_Dir "BaseDebug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "BaseDebug" +# PROP Intermediate_Dir "BaseDebug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W4 /Zi /Od /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /YX /FD /c +# ADD CPP /nologo /W4 /Zi /Od /I "..\..\include" /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /D WIN32 /D WINVER=0x400 /D _MT /D wxUSE_GUI=0 /YX /FD /c /MDd /D "__WXDEBUG__" /D "WXDEBUG=1" /I..\..\lib\based +# ADD BASE RSC /l 0x409 /d "_DEBUG" /I "..\..\include" +# ADD RSC /l 0x409 /d "_DEBUG" /I "..\..\include" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib advapi32.lib wsock32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib advapi32.lib wsock32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept ..\..\lib\zlibd.lib ..\..\lib\regexd.lib ..\..\lib\wxbased.lib + +!ENDIF + +# Begin Target + +# Name "console - Win32 Release Unicode DLL" +# Name "console - Win32 Debug Unicode DLL" +# Name "console - Win32 Debug Unicode" +# Name "console - Win32 Release DLL" +# Name "console - Win32 Debug DLL" +# Name "console - Win32 Release" +# Name "console - Win32 Debug" +# Begin Source File + +SOURCE=.\console.cpp +# End Source File +# End Target +# End Project diff --git a/samples/console/console.dsw b/samples/console/console.dsw new file mode 100644 index 0000000000..c3c7a4d56a --- /dev/null +++ b/samples/console/console.dsw @@ -0,0 +1,44 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "console"=.\console.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name wxBase + End Project Dependency +}}} + +############################################################################### + +Project: "wxBase"=..\..\src\wxBase.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/samples/console/console.pro b/samples/console/console.pro new file mode 100644 index 0000000000..da061a17e3 --- /dev/null +++ b/samples/console/console.pro @@ -0,0 +1,14 @@ +# this is the project file for the console wxWindows sample + +# we generate the VC++ IDE project file, comment this line +# to generate a makefile for (n)make +TEMPLATE = vc6app + +# wxbase is for wxWin console programs +CONFIG = wxbase + +WXCONFIGS = * + +# project files +SOURCES = console.cpp +TARGET = console