فهرست منبع

Update example to show how to get clean preprocessor output.

Martijn Laan 5 سال پیش
والد
کامیت
1751b2d301
1فایلهای تغییر یافته به همراه12 افزوده شده و 12 حذف شده
  1. 12 12
      Examples/ISPPExample1.iss

+ 12 - 12
Examples/ISPPExample1.iss

@@ -1,22 +1,22 @@
-; -- ISPPExample1.iss --
-;
-; This script shows various basic things you can achieve using Inno Setup Preprocessor (ISPP).
-; To enable commented #define's, either remove the ';' or use ISCC with the /D switch.
-
+// -- ISPPExample1.iss --
+//
+// This script shows various basic things you can achieve using Inno Setup Preprocessor (ISPP).
+// To enable commented #define's, either remove the '//' or use ISCC with the /D switch.
+//
 #pragma verboselevel 9
 #pragma verboselevel 9
-
-;#define Debug
-
-;#define AppEnterprise
-
+//
+//#define Debug
+//
+//#define AppEnterprise
+//
 #ifdef AppEnterprise
 #ifdef AppEnterprise
   #define AppName "My Program Enterprise Edition"
   #define AppName "My Program Enterprise Edition"
 #else
 #else
   #define AppName "My Program"
   #define AppName "My Program"
 #endif
 #endif
-
+//
 #define AppVersion GetVersionNumbersString(AddBackslash(SourcePath) + "MyProg.exe")
 #define AppVersion GetVersionNumbersString(AddBackslash(SourcePath) + "MyProg.exe")
-
+//
 [Setup]
 [Setup]
 AppName={#AppName}
 AppName={#AppName}
 AppVersion={#AppVersion}
 AppVersion={#AppVersion}