- added Release configuration in VS projects
[fw/sdcc] / src / pic / pica.dsp
index 94cb37a4c5961024172895a2c4ec88f7a29eede6..ec9c196f92b6295b5e5786023f14b4a12a57c58a 100644 (file)
@@ -4,27 +4,31 @@
 
 # TARGTYPE "Win32 (x86) Generic Project" 0x010a
 
-CFG=pica - Win32 Debug
+CFG=pica - Win32 Release
 !MESSAGE This is not a valid makefile. To build this project using NMAKE,
 !MESSAGE use the Export Makefile command and run
-!MESSAGE
+!MESSAGE 
 !MESSAGE NMAKE /f "pica.mak".
-!MESSAGE
+!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 "pica.mak" CFG="pica - Win32 Debug"
-!MESSAGE
+!MESSAGE 
+!MESSAGE NMAKE /f "pica.mak" CFG="pica - Win32 Release"
+!MESSAGE 
 !MESSAGE Possible choices for configuration are:
-!MESSAGE
+!MESSAGE 
 !MESSAGE "pica - Win32 Debug" (based on "Win32 (x86) Generic Project")
-!MESSAGE
+!MESSAGE "pica - Win32 Release" (based on "Win32 (x86) Generic Project")
+!MESSAGE 
 
 # Begin Project
 # PROP AllowPerConfigDependencies 0
 # PROP Scc_ProjName ""
 # PROP Scc_LocalPath ""
 MTL=midl.exe
+
+!IF  "$(CFG)" == "pica - Win32 Debug"
+
 # PROP BASE Use_MFC 0
 # PROP BASE Use_Debug_Libraries 1
 # PROP BASE Output_Dir "Debug"
@@ -35,21 +39,52 @@ MTL=midl.exe
 # PROP Output_Dir ""
 # PROP Intermediate_Dir ""
 # PROP Target_Dir ""
+
+!ELSEIF  "$(CFG)" == "pica - Win32 Release"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 1
+# PROP BASE Output_Dir "Release"
+# PROP BASE Intermediate_Dir "Release"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 1
+# PROP Output_Dir ""
+# PROP Intermediate_Dir ""
+# PROP Target_Dir ""
+
+!ENDIF 
+
 # Begin Target
 
 # Name "pica - Win32 Debug"
-
+# Name "pica - Win32 Release"
 # Begin Source File
 
 SOURCE=.\peeph.def
+
+!IF  "$(CFG)" == "pica - Win32 Debug"
+
+# Begin Custom Build
+InputPath=.\peeph.def
+
+"peeph.rul" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
+       gawk -f ../SDCCpeeph.awk $(InputPath) >peeph.rul
+
+# End Custom Build
+
+!ELSEIF  "$(CFG)" == "pica - Win32 Release"
+
 # Begin Custom Build
 InputPath=.\peeph.def
 
 "peeph.rul" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
-       echo on
        gawk -f ../SDCCpeeph.awk $(InputPath) >peeph.rul
 
 # End Custom Build
+
+!ENDIF 
+
 # End Source File
 # End Target
 # End Project