Files
org-hyperion-cules/hqainc.h
Fish (David B. Trout) 4a2d84019f 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.
2013-04-12 14:48:06 -07:00

25 lines
963 B
C

/* HQAINC.H (C) "Fish" (David B. Trout), 2013 */
/* Include user override header HQA.H if needed */
/* */
/* Released under "The Q Public License Version 1" */
/* (http://www.hercules-390.org/herclic.html) as modifications to */
/* Hercules. */
#ifndef _HQAINC_H_
#define _HQAINC_H_
/*
** The "hqa.h" header is an OPTIONAL header the user can create
** that contains overrides for any of Hercules's default values
** to provide for easier Quality Assurance testing of different
** build configurations without the need to modify any Hercules
** source code (header) files.
*/
#ifdef HAVE_HQA_H
#include "hqa.h" /* user override to select */
#include "hqadefs.h" /* predefined QA scenarios */
#endif
#endif /*_HQAINC_H_*/