apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apr/test testapp.c testapp.dsp testappnt.dsp aprtest.dsw
Date Fri, 31 May 2002 04:37:27 GMT
wrowe       2002/05/30 21:37:27

  Modified:    test     aprtest.dsw
  Added:       test     testapp.c testapp.dsp testappnt.dsp
  Log:
    Some win32 experimental code I'm playing with.  Simply demonstrates how
    to configure an app for WinNT or all Win32 applications.  I expect to
    extend this simple code to actually set up and test different 'signalling'
    APIs that are supported under Win32 (e.g. console, service, 9x hidden
    console service, etc.)
  
  Revision  Changes    Path
  1.7       +37 -1     apr/test/aprtest.dsw
  
  Index: aprtest.dsw
  ===================================================================
  RCS file: /home/cvs/apr/test/aprtest.dsw,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- aprtest.dsw	18 Feb 2002 06:00:23 -0000	1.6
  +++ aprtest.dsw	31 May 2002 04:37:27 -0000	1.7
  @@ -30,6 +30,21 @@
   
   ###############################################################################
   
  +Project: "aprtest"=".\aprtest.dsp" - Package Owner=<4>
  +
  +Package=<5>
  +{{{
  +}}}
  +
  +Package=<4>
  +{{{
  +    Begin Project Dependency
  +    Project_Dep_Name apr
  +    End Project Dependency
  +}}}
  +
  +###############################################################################
  +
   Project: "libapr"="..\libapr.dsp" - Package Owner=<4>
   
   Package=<5>
  @@ -57,7 +72,25 @@
   
   ###############################################################################
   
  -Project: "aprtest"=".\aprtest.dsp" - Package Owner=<4>
  +Project: "testapp"=".\testapp.dsp" - Package Owner=<4>
  +
  +Package=<5>
  +{{{
  +}}}
  +
  +Package=<4>
  +{{{
  +    Begin Project Dependency
  +    Project_Dep_Name apr
  +    End Project Dependency
  +    Begin Project Dependency
  +    Project_Dep_Name apr_app
  +    End Project Dependency
  +}}}
  +
  +###############################################################################
  +
  +Project: "testappnt"=".\testappnt.dsp" - Package Owner=<4>
   
   Package=<5>
   {{{
  @@ -67,6 +100,9 @@
   {{{
       Begin Project Dependency
       Project_Dep_Name apr
  +    End Project Dependency
  +    Begin Project Dependency
  +    Project_Dep_Name apr_app
       End Project Dependency
   }}}
   
  
  
  
  1.1                  apr/test/testapp.c
  
  Index: testapp.c
  ===================================================================
  #include <apr.h>
  #include <apr_general.h>
  
  int main(int argc, const char * const * argv, const char * const *env)
  {
      apr_app_initialize(&argc, &argv, &env);
  
  
      apr_terminate();
  }
  
  
  1.1                  apr/test/testapp.dsp
  
  Index: testapp.dsp
  ===================================================================
  # Microsoft Developer Studio Project File - Name="testapp" - Package Owner=<4>
  # Microsoft Developer Studio Generated Build File, Format Version 6.00
  # ** DO NOT EDIT **
  
  # TARGTYPE "Win32 (x86) Console Application" 0x0103
  
  CFG=testapp - 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 "testapp.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 "testapp.mak" CFG="testapp - Win32 Debug"
  !MESSAGE 
  !MESSAGE Possible choices for configuration are:
  !MESSAGE 
  !MESSAGE "testapp - Win32 Release" (based on "Win32 (x86) Console Application")
  !MESSAGE "testapp - Win32 Debug" (based on "Win32 (x86) Console Application")
  !MESSAGE 
  
  # Begin Project
  # PROP AllowPerConfigDependencies 0
  # PROP Scc_ProjName ""
  # PROP Scc_LocalPath ""
  CPP=cl.exe
  RSC=rc.exe
  
  !IF  "$(CFG)" == "testapp - 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 Ignore_Export_Lib 0
  # PROP Target_Dir ""
  # ADD BASE CPP /nologo /MD /W3 /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D "APR_DECLARE_STATIC"
/D "APU_DECLARE_STATIC" /FD /c
  # ADD CPP /nologo /MD /W3 /O2 /I "../include" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "APR_DECLARE_STATIC"
/D "APU_DECLARE_STATIC" /Fd"./testapp" /FD /c
  # ADD BASE RSC /l 0x409 /d "NDEBUG"
  # ADD RSC /l 0x409 /d "NDEBUG"
  BSC32=bscmake.exe
  # ADD BASE BSC32 /nologo
  # ADD BSC32 /nologo
  LINK32=link.exe
  # ADD BASE LINK32 kernel32.lib advapi32.lib wsock32.lib ws2_32.lib /nologo /subsystem:console
/map /machine:I386
  # ADD LINK32 kernel32.lib advapi32.lib wsock32.lib ws2_32.lib /nologo /subsystem:console
/map /machine:I386
  
  !ELSEIF  "$(CFG)" == "testapp - Win32 Debug"
  
  # PROP BASE Use_MFC 0
  # PROP BASE Use_Debug_Libraries 1
  # PROP BASE Output_Dir "."
  # PROP BASE Intermediate_Dir "."
  # PROP BASE Target_Dir ""
  # PROP Use_MFC 0
  # PROP Use_Debug_Libraries 1
  # PROP Output_Dir "."
  # PROP Intermediate_Dir "."
  # PROP Ignore_Export_Lib 0
  # PROP Target_Dir ""
  # ADD BASE CPP /nologo /MDd /W3 /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS"
/D "APR_DECLARE_STATIC" /D "APU_DECLARE_STATIC" /FD /c
  # ADD CPP /nologo /MDd /W3 /GX /Zi /Od /I "../include" /D "_DEBUG" /D "WIN32" /D "_CONSOLE"
/D "APR_DECLARE_STATIC" /D "APU_DECLARE_STATIC" /Fd"./testapp" /FD /c
  # ADD BASE RSC /l 0x409 /d "_DEBUG"
  # ADD RSC /l 0x409 /d "_DEBUG"
  BSC32=bscmake.exe
  # ADD BASE BSC32 /nologo
  # ADD BSC32 /nologo
  LINK32=link.exe
  # ADD BASE LINK32 kernel32.lib advapi32.lib wsock32.lib ws2_32.lib /nologo /subsystem:console
/incremental:no /map /debug /machine:I386
  # ADD LINK32 kernel32.lib advapi32.lib wsock32.lib ws2_32.lib /nologo /subsystem:console
/incremental:no /map /debug /machine:I386
  
  !ENDIF 
  
  # Begin Target
  
  # Name "testapp - Win32 Release"
  # Name "testapp - Win32 Debug"
  # Begin Source File
  
  SOURCE=.\testapp.c
  # End Source File
  # End Target
  # End Project
  
  
  
  1.1                  apr/test/testappnt.dsp
  
  Index: testappnt.dsp
  ===================================================================
  # Microsoft Developer Studio Project File - Name="testappnt" - Package Owner=<4>
  # Microsoft Developer Studio Generated Build File, Format Version 6.00
  # ** DO NOT EDIT **
  
  # TARGTYPE "Win32 (x86) Console Application" 0x0103
  
  CFG=testappnt - 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 "testappnt.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 "testappnt.mak" CFG="testappnt - Win32 Debug"
  !MESSAGE 
  !MESSAGE Possible choices for configuration are:
  !MESSAGE 
  !MESSAGE "testappnt - Win32 Release" (based on "Win32 (x86) Console Application")
  !MESSAGE "testappnt - Win32 Debug" (based on "Win32 (x86) Console Application")
  !MESSAGE 
  
  # Begin Project
  # PROP AllowPerConfigDependencies 0
  # PROP Scc_ProjName ""
  # PROP Scc_LocalPath ""
  CPP=cl.exe
  RSC=rc.exe
  
  !IF  "$(CFG)" == "testappnt - 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 Ignore_Export_Lib 0
  # PROP Target_Dir ""
  # ADD BASE CPP /nologo /MD /W3 /O2 /D "WIN32" /D "WINNT" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS"
/D "APR_DECLARE_STATIC" /D "APU_DECLARE_STATIC" /FD /c
  # ADD CPP /nologo /MD /W3 /O2 /I "../include" /D "NDEBUG" /D "WIN32" /D "WINNT" /D "_CONSOLE"
/D "APR_DECLARE_STATIC" /D "APU_DECLARE_STATIC" /Fd"./testappnt" /FD /c
  # ADD BASE RSC /l 0x409 /d "NDEBUG"
  # ADD RSC /l 0x409 /d "NDEBUG"
  BSC32=bscmake.exe
  # ADD BASE BSC32 /nologo
  # ADD BSC32 /nologo
  LINK32=link.exe
  # ADD BASE LINK32 kernel32.lib advapi32.lib wsock32.lib ws2_32.lib /nologo /subsystem:console
/map /machine:I386
  # ADD LINK32 kernel32.lib advapi32.lib wsock32.lib ws2_32.lib /nologo /entry:"wmainCRTStartup"
/subsystem:console /map /machine:I386
  
  !ELSEIF  "$(CFG)" == "testappnt - Win32 Debug"
  
  # PROP BASE Use_MFC 0
  # PROP BASE Use_Debug_Libraries 1
  # PROP BASE Output_Dir "."
  # PROP BASE Intermediate_Dir "."
  # PROP BASE Target_Dir ""
  # PROP Use_MFC 0
  # PROP Use_Debug_Libraries 1
  # PROP Output_Dir "."
  # PROP Intermediate_Dir "."
  # PROP Ignore_Export_Lib 0
  # PROP Target_Dir ""
  # ADD BASE CPP /nologo /MDd /W3 /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS"
/D "APR_DECLARE_STATIC" /D "APU_DECLARE_STATIC" /FD /c
  # ADD CPP /nologo /MDd /W3 /GX /Zi /Od /I "../include" /D "_DEBUG" /D "WIN32" /D "WINNT"
/D "_CONSOLE" /D "APR_DECLARE_STATIC" /D "APU_DECLARE_STATIC" /Fd"./testappnt" /FD /c
  # ADD BASE RSC /l 0x409 /d "_DEBUG"
  # ADD RSC /l 0x409 /d "_DEBUG"
  BSC32=bscmake.exe
  # ADD BASE BSC32 /nologo
  # ADD BSC32 /nologo
  LINK32=link.exe
  # ADD BASE LINK32 kernel32.lib advapi32.lib wsock32.lib ws2_32.lib /nologo /subsystem:console
/incremental:no /map /debug /machine:I386
  # ADD LINK32 kernel32.lib advapi32.lib wsock32.lib ws2_32.lib /nologo /entry:"wmainCRTStartup"
/subsystem:console /incremental:no /map /debug /machine:I386
  
  !ENDIF 
  
  # Begin Target
  
  # Name "testappnt - Win32 Release"
  # Name "testappnt - Win32 Debug"
  # Begin Source File
  
  SOURCE=.\testapp.c
  
  !IF  "$(CFG)" == "testappnt - Win32 Release"
  
  # ADD CPP /Fo"testappnt"
  
  !ELSEIF  "$(CFG)" == "testappnt - Win32 Debug"
  
  # ADD CPP /Fo"testappnt"
  
  !ENDIF 
  
  # End Source File
  # End Target
  # End Project
  
  
  

Mime
View raw message