117117;We speed up compilation (and hence testing) by not compressing contents.
118118#undef compression
119119
120- ;Default to x64 for testing
120+ ;Default to x64_release for testing
121121#define PlatformTarget " x64"
122+ #define ConfigurationTarget " release"
122123#endif
123124;-------#ifdef iss_debug
124125
216217#endif
217218#endif
218219
220+ ;---- If we haven't already set ConfigurationTarget then pick it up from the environment.
221+ #ifndef ConfigurationTarget
222+ #define ConfigurationTarget GetEnv(" FBBUILD_BUILDTYPE" )
223+ #endif
224+ #if ConfigurationTarget == " "
225+ ;Assume release
226+ #define ConfigurationTarget " release"
227+ #endif
228+
219229#if FB_BUILD_TYPE == " T"
220230;If we are still under development we can ignore some missing files.
221231#define SkipFileIfDevStatus " skipifsourcedoesntexist "
224234#endif
225235
226236;This location is relative to SourceDir (declared below)
227- #define FilesDir= " output_" + PlatformTarget
237+ #define FilesDir= " output_" + PlatformTarget + " _ " + ConfigurationTarget
228238#if PlatformTarget == " x64"
229239#define WOW64Dir= " output_win32"
230240#endif
@@ -397,7 +407,7 @@ Filename: {app}\instreg.exe; Parameters: "install "; StatusMsg: {cm:instreg}; Mi
397407Filename : {app} \instclient.exe; Parameters : " install fbclient" ; StatusMsg : {cm:instclientCopyFbClient}; MinVersion: {#MinVer}; Components : ClientComponent; Flags : runminimized ; Check : CopyFBClientLib;
398408Filename : {app} \instclient.exe; Parameters : " install gds32" ; StatusMsg : {cm:instclientGenGds32}; MinVersion: {#MinVer}; Components : ClientComponent; Flags : runminimized ; Check : CopyGds32
399409#if PlatformTarget == " x64"
400- Filename : {app} \WOW64\instclient.exe; Parameters : " install fbclient" ; StatusMsg : {cm:instclientCopyFbClient}; MinVersion: {#MinVer}; Components : ClientComponent; Flags : runminimized 32bit ; Check : CopyFBClientLib;
410+ Filename : {app} \WOW64\instclient.exe; Parameters : " install fbclient" ; StatusMsg : {cm:instclientCopyFbClient}; MinVersion: {#MinVer}; Components : ClientComponent; Flags : runminimized 32bit ; Check : CopyFBClientLib
401411Filename : {app} \WOW64\instclient.exe; Parameters : " install gds32" ; StatusMsg : {cm:instclientGenGds32}; MinVersion: {#MinVer}; Components : ClientComponent; Flags : runminimized 32bit ; Check : CopyGds32
402412#endif
403413
@@ -500,10 +510,10 @@ Source: {#FilesDir}\icuin??.dll; DestDir: {app}; Components: ClientComponent; Fl
500510Source : {#FilesDir}\icudt??.dll; DestDir : {app} ; Components : ClientComponent; Flags : sharedfile ignoreversion
501511Source : {#FilesDir}\icudt*.dat; DestDir : {app} ; Components : ClientComponent; Flags : sharedfile ignoreversion
502512#if PlatformTarget == " x64"
503- Source : {#WOW64Dir}\icuuc??.dll; DestDir : {app} \WOW64; Components : ClientComponent; Flags : sharedfile ignoreversion
504- Source : {#WOW64Dir}\icuin??.dll; DestDir : {app} \WOW64; Components : ClientComponent; Flags : sharedfile ignoreversion
505- Source : {#WOW64Dir}\icudt??.dll; DestDir : {app} \WOW64; Components : ClientComponent; Flags : sharedfile ignoreversion
506- Source : {#WOW64Dir}\icudt*.dat; DestDir : {app} \WOW64; Components : ClientComponent; Flags : sharedfile ignoreversion
513+ Source : {#WOW64Dir}\icuuc??.dll; DestDir : {app} \WOW64; Components : ClientComponent; Flags : sharedfile ignoreversion {#SkipFileIfDevStatus}
514+ Source : {#WOW64Dir}\icuin??.dll; DestDir : {app} \WOW64; Components : ClientComponent; Flags : sharedfile ignoreversion {#SkipFileIfDevStatus}
515+ Source : {#WOW64Dir}\icudt??.dll; DestDir : {app} \WOW64; Components : ClientComponent; Flags : sharedfile ignoreversion {#SkipFileIfDevStatus}
516+ Source : {#WOW64Dir}\icudt*.dat; DestDir : {app} \WOW64; Components : ClientComponent; Flags : sharedfile ignoreversion {#SkipFileIfDevStatus}
507517#endif
508518
509519#if PlatformTarget == " Win32"
@@ -512,7 +522,7 @@ Source: {#FilesDir}\fbrmclib.dll; DestDir: {app}; Components: ServerComponent; F
512522
513523Source : {#FilesDir}\zlib1.dll; DestDir : {app} ; Components : ClientComponent; Flags : sharedfile ignoreversion
514524#if PlatformTarget == " x64"
515- Source : {#WOW64Dir}\zlib1.dll; DestDir : {app} \WOW64; Components : ClientComponent; Flags : sharedfile ignoreversion
525+ Source : {#WOW64Dir}\zlib1.dll; DestDir : {app} \WOW64; Components : ClientComponent; Flags : sharedfile ignoreversion {#SkipFileIfDevStatus}
516526#endif
517527
518528;Rules for installation of MS runtimes are simplified with MSVC10
@@ -549,7 +559,7 @@ Source: {#FilesDir}\doc\sql.extensions\*.*; DestDir: {app}\doc\sql.extensions; C
549559Source : {#FilesDir}\include\*.*; DestDir : {app} \include; Components : DevAdminComponent; Flags : ignoreversion recursesubdirs createallsubdirs ;
550560Source : {#FilesDir}\intl\fbintl.dll; DestDir : {app} \intl; Components : ServerComponent; Flags : sharedfile ignoreversion ;
551561Source : {#FilesDir}\intl\fbintl.conf; DestDir : {app} \intl; Components : ServerComponent; Flags : onlyifdoesntexist
552- Source : {#FilesDir}\lib\*.* ; DestDir : {app} \lib; Components : DevAdminComponent; Flags : ignoreversion ;
562+ Source : {#FilesDir}\lib\*.lib ; DestDir : {app} \lib; Components : DevAdminComponent; Flags : ignoreversion ;
553563#if PlatformTarget == " x64"
554564Source : {#WOW64Dir}\lib\*.lib; DestDir : {app} \WOW64\lib; Components : DevAdminComponent; Flags : ignoreversion {#SkipFileIfDevStatus}
555565#endif
@@ -566,7 +576,7 @@ Source: {#FilesDir}\plugins\chacha.dll; DestDir: {app}\plugins; Components: Clie
566576Source : {#FilesDir}\plugins\*.conf; DestDir : {app} \plugins; Components : ServerComponent; Flags : ignoreversion ;
567577Source : {#FilesDir}\plugins\udr\*.*; DestDir : {app} \plugins\udr; Components : ServerComponent; Flags : ignoreversion ;
568578#if PlatformTarget == " x64"
569- Source : {#WOW64Dir}\plugins\chacha*.dll; DestDir : {app} \WOW64\plugins; Components : ClientComponent; Flags : ignoreversion ;
579+ Source : {#WOW64Dir}\plugins\chacha*.dll; DestDir : {app} \WOW64\plugins; Components : ClientComponent; Flags : ignoreversion {#SkipFileIfDevStatus} ;
570580#endif
571581
572582Source : {#FilesDir}\misc\*.*; DestDir : {app} \misc; Components : ServerComponent; Flags : ignoreversion createallsubdirs recursesubdirs ;
@@ -588,7 +598,7 @@ Source: {#FilesDir}\gfix.pdb; DestDir: {app}; Components: DevAdminComponent;
588598Source : {#FilesDir}\isql.pdb; DestDir : {app} ; Components : ClientComponent;
589599Source : {#FilesDir}\plugins\*.pdb; DestDir : {app} \plugins; Components : ServerComponent;
590600#if PlatformTarget == " x64"
591- Source : {#WOW64Dir}\fbclient.pdb; DestDir : {app} \WOW64; Components : ClientComponent;
601+ Source : {#WOW64Dir}\fbclient.pdb; DestDir : {app} \WOW64; Components : ClientComponent; Flags : {#SkipFileIfDevStatus};
592602#endif
593603#endif
594604
0 commit comments