Ignore:
Timestamp:
Apr 22, 2009 2:27:55 PM (15 years ago)
Author:
nanang
Message:

Ticket #706: Merged branch vs-reorg into trunk:

  • Currently supported platforms are Win32 & WM6 std/pro.
  • Renamed project test_pjsip with pjsip_test, also source directory 'test-pjsip' to 'test'.
Location:
pjproject/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk

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

    r2601 r2638  
    22LIBEXT = .lib 
    33 
     4TARGET = i386-win32-vs$(VC_VER)-$(BUILD_MODE) 
     5 
    46!if "$(BUILD_MODE)" == "debug" 
    5 TARGET = i386-win32-vc$(VC_VER)-debug 
     7BUILD_FLAGS = /MTd /Od /Zi /W4 
     8!elseif "$(BUILD_MODE)" == "debug-static" 
    69BUILD_FLAGS = /MTd /Od /Zi /W4 
    710!elseif "$(BUILD_MODE)" == "debug-dynamic" 
    8 TARGET = i386-win32-vc$(VC_VER)-debug 
    911BUILD_FLAGS = /MDd /Od /Zi /W4 
    1012!elseif "$(BUILD_MODE)" == "release-static" 
    11 TARGET = i386-win32-vc$(VC_VER)-release 
    1213BUILD_FLAGS = /Ox /MT /DNDEBUG /W4 
    13 !else 
    14 TARGET = i386-win32-vc$(VC_VER)-$(BUILD_MODE) 
     14!elseif "$(BUILD_MODE)" == "release-dynamic" 
    1515BUILD_FLAGS = /Ox /MD /DNDEBUG /W4 
    1616!endif 
     
    8989$(SAMPLES): $(SRCDIR)\$(@B).c $(LIBS) $(SRCDIR)\util.h Samples-vc.mak 
    9090        cl -nologo -c $(SRCDIR)\$(@B).c /Fo$(OBJDIR)\$(@B).obj $(CFLAGS)  
    91         cl /nologo $(OBJDIR)\$(@B).obj /Fe$@ /Fm$(OBJDIR)\$(@B).map $(LDFLAGS) 
     91        cl /nologo $(OBJDIR)\$(@B).obj /Fe$(BINDIR)\$(@B)-$(TARGET).exe /Fm$(OBJDIR)\$(@B).map $(LDFLAGS) 
     92        @rem the following two lines is just for cleaning up the 'bin' directory 
     93        del /Q $(BINDIR)\*$(TARGET).ilk 
     94        del /Q $(BINDIR)\*$(TARGET).pdb 
    9295 
    9396$(OBJDIR): 
     
    9699clean: 
    97100        echo Cleaning up samples... 
    98         if exist $(BINDIR) del /Q $(BINDIR)\*.* 
     101        if exist $(BINDIR) del /Q $(BINDIR)\*$(TARGET).* 
    99102        if exist $(OBJDIR) del /Q $(OBJDIR)\*.* 
    100103 
Note: See TracChangeset for help on using the changeset viewer.