Files
org-hyperion-cules/msvc.makefile.includes/HQA_DIR.msvc
2014-08-21 06:25:02 -07:00

46 lines
1.8 KiB
Plaintext

# ***************************************************************************
# HQA_DIR.msvc (!INCLUDE ed by "makefile-dllmod.msvc")
# --------------------------------------------------------------------------
# (C) Software Development Laboratories, 2013
# --------------------------------------------------------------------------
#
# QA Build Configuration Testing support
#
# ***************************************************************************
# ---------------------------------------------------------------------------
# To perform QA (Quality Assurance) testing of various build configurations,
# define an environment variable called "HQA_DIR" that specifies the path of
# the directory where your "hqa.h" build settings override include header is
# (via the "Advanced" tab of the Control Panel 'System' applet).
#
# Your "hqa.h" include header should then either define the "HQA_SCENARIO"
# macro to one of the pre-defined values in the Hercules "hqadefs.h" header
# or else #define your own custom build scenario.
#
# Note: if the HQA_DIR path contains blanks do NOT surround it with quotes!
# The makefile will do that if it needs to. Just define the variable with
# the path as-is, WITHOUT any quotes:
#
# HQA_DIR = C:\My Projects\Hercules\My HQA Directory
#
# ---------------------------------------------------------------------------
!UNDEF HQA_INC
!IFDEF HQA_DIR
! IF "$(HQA_DIR)" == "NONE"
! UNDEF HQA_DIR
! ELSEIF !EXIST($(HQA_DIR))
! ERROR HQA ERROR: Directory "$(HQA_DIR)" does not exist. Check HQA_DIR.
! ELSE
! IF !EXIST($(HQA_DIR)\hqa.h)
! MESSAGE HQA WARNING: HQA_DIR defined but "hqa.h" not found in "$(HQA_DIR)"
! ELSE
HQA_INC = $(HQA_DIR)
HASH=^#
! MESSAGE HQA NOTE: "hqa.h" will be $(HASH)included from "$(HQA_DIR)"
! ENDIF
! ENDIF
!ENDIF