Changeset 922


Ignore:
Timestamp:
Feb 1, 2007 3:01:01 AM (14 years ago)
Author:
bennylp
Message:

Fixed ticket #85: build errors when building samples with VS6/VS8

Location:
pjproject/trunk/pjsip-apps/build
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/build/Samples-vc.mak

    r876 r922  
    11 
    2 TARGET = i386-win32-vc6-$(BUILD_MODE) 
     2TARGET = i386-win32-vc$(VC_VER)-$(BUILD_MODE) 
    33LIBEXT = .lib 
    44 
     
    6161 
    6262$(OBJDIR): 
    63         mkdir $(OBJDIR) 
     63        if not exist $(OBJDIR) mkdir $(OBJDIR) 
    6464 
     65clean: 
     66        echo Cleaning up samples... 
     67        if exist $(BINDIR) del /Q $(BINDIR)\*.* 
     68        if exist $(OBJDIR) del /Q $(OBJDIR)\*.* 
    6569 
  • pjproject/trunk/pjsip-apps/build/samples.dsp

    r876 r922  
    4242# PROP Output_Dir "./output/samples-i386-win32-vc6-release" 
    4343# PROP Intermediate_Dir "./output/samples-i386-win32-vc6-release" 
    44 # PROP Cmd_Line "nmake /NOLOGO /S /f Samples-vc.mak BUILD_MODE=release" 
     44# PROP Cmd_Line "nmake /NOLOGO /S /f Samples-vc.mak BUILD_MODE=release VC_VER=6" 
    4545# PROP Rebuild_Opt "/a" 
    4646# PROP Target_File "All samples" 
     
    6363# PROP Output_Dir "./output/samples-i386-win32-vc6-debug" 
    6464# PROP Intermediate_Dir "./output/samples-i386-win32-vc6-debug" 
    65 # PROP Cmd_Line "nmake /NOLOGO /S /f Samples-vc.mak BUILD_MODE=debug" 
     65# PROP Cmd_Line "nmake /NOLOGO /S /f Samples-vc.mak BUILD_MODE=debug VC_VER=6" 
    6666# PROP Rebuild_Opt "/a" 
    6767# PROP Target_File "All samples" 
  • pjproject/trunk/pjsip-apps/build/samples.vcproj

    r898 r922  
    2626                        <Tool 
    2727                                Name="VCNMakeTool" 
    28                                 BuildCommandLine="nmake /NOLOGO /S /f Samples-vc.mak BUILD_MODE=release" 
    29                                 ReBuildCommandLine="nmake /NOLOGO /S /f Samples-vc.mak BUILD_MODE=release /a" 
    30                                 CleanCommandLine="" 
     28                                BuildCommandLine="nmake /NOLOGO /S /f Samples-vc.mak BUILD_MODE=release VC_VER=8" 
     29                                ReBuildCommandLine="nmake /NOLOGO /S /f Samples-vc.mak BUILD_MODE=release VC_VER=8 /a" 
     30                                CleanCommandLine="nmake /NOLOGO /S /f Samples-vc.mak BUILD_MODE=release VC_VER=8 clean" 
    3131                                Output="All samples" 
    3232                                PreprocessorDefinitions="" 
     
    4949                        <Tool 
    5050                                Name="VCNMakeTool" 
    51                                 BuildCommandLine="nmake /NOLOGO /S /f Samples-vc.mak BUILD_MODE=debug" 
    52                                 ReBuildCommandLine="nmake /NOLOGO /S /f Samples-vc.mak BUILD_MODE=debug /a" 
    53                                 CleanCommandLine="" 
     51                                BuildCommandLine="nmake /NOLOGO /S /f Samples-vc.mak BUILD_MODE=debug VC_VER=8" 
     52                                ReBuildCommandLine="nmake /NOLOGO /S /f Samples-vc.mak BUILD_MODE=debug VC_VER=8 /a" 
     53                                CleanCommandLine="nmake /NOLOGO /S /f Samples-vc.mak BUILD_MODE=debug VC_VER=8 clean" 
    5454                                Output="All samples" 
    5555                                PreprocessorDefinitions="" 
Note: See TracChangeset for help on using the changeset viewer.