HQA = Hercules Build Configurations Quality Assurance Testing

The "HQA" commit introduces a new build feature that provides the ability to override Hercules's default build settings without having to modify any of the Hercules header files themselves.  (Note: not all build settings may be overridable yet. This is a work in progress.)

To override Hercules's default build settings, define an environment variable called 'HQA_DIR' pointing to the directory where your optional "hqa.h" overrides header file exists, or, instead of defining an environment variable, simply specify, if Linux, the new "--enable-hqa" configure option, or, if Windows, the new "-hqa" "makefile.bat" option.

Then, within your "hqa.h" override header, either #define the 'HQA_SCENARIO' macro to one of the pre-defined values defined in Hercules's "hqadefs.h" header file, or simply #define your own scenario. The values you #define will then override Hercules's default values.

Additionally, on Windows, you can override virtually any of the compiler settings as well, via a 'HQA.msvc' nmake !include override file that, for example, modifies the $(cflags) variable to add, remove, or change whatever compiler option you wish.
This commit is contained in:
Fish (David B. Trout)
2013-04-12 14:48:06 -07:00
parent c7dc0fddd4
commit 4a2d84019f
16 changed files with 584 additions and 96 deletions

View File

@@ -1558,6 +1558,14 @@
RelativePath=".\hostopts.h"
>
</File>
<File
RelativePath=".\hqadefs.h"
>
</File>
<File
RelativePath=".\hqainc.h"
>
</File>
<File
RelativePath=".\hRexx.h"
>
@@ -1678,6 +1686,10 @@
RelativePath=".\sr.h"
>
</File>
<File
RelativePath=".\targetver.h"
>
</File>
<File
RelativePath=".\version.h"
>
@@ -2192,6 +2204,14 @@
RelativePath=".\msvc.makefile.includes\HERC_FLAGS.msvc"
>
</File>
<File
RelativePath=".\msvc.makefile.includes\HQA_DIR.msvc"
>
</File>
<File
RelativePath=".\msvc.makefile.includes\HQA_FLAGS.msvc"
>
</File>
<File
RelativePath=".\msvc.makefile.includes\IPV6_FLAGS.msvc"
>