From 8c4ae7aacd18a1abb35b42fc644972052c99d555 Mon Sep 17 00:00:00 2001 From: mvandervoord Date: Wed, 18 Mar 2020 15:19:35 -0400 Subject: [PATCH] clarification in docs (#468) --- docs/UnityConfigurationGuide.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/UnityConfigurationGuide.md b/docs/UnityConfigurationGuide.md index e96db03..de691fd 100644 --- a/docs/UnityConfigurationGuide.md +++ b/docs/UnityConfigurationGuide.md @@ -39,6 +39,10 @@ toolchain's search paths). In this file, you will list definitions and macros specific to your target. All you must do is define `UNITY_INCLUDE_CONFIG_H` and Unity will rely on `unity_config.h` for any further definitions it may need. +Unfortunately, it doesn't usually work well to just #define these things in the +test itself. These defines need to take effect where ever unity.h is included. +This would be test test, the test runner (if you're generating one), and from +unity.c when it's compiled. ## The Options