# add\_test in CTestTestfile.cmake to contain relative paths.

**URL:** https://discourse.cmake.org/t/add-test-in-ctesttestfile-cmake-to-contain-relative-paths/1340
**Category:** Usage
**Created:** [June 7, 2020, 8:14am UTC](https://discourse.cmake.org/t/add-test-in-ctesttestfile-cmake-to-contain-relative-paths/1340 "2020-06-07T08:14:54Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![Grant\_Anderson](https://discourse.cmake.org/user_avatar/discourse.cmake.org/grant_anderson/32/498_2.png) [@Grant\_Anderson](https://discourse.cmake.org/u/Grant_Anderson)
#### Post date: [June 8, 2020, 11:56pm UTC](https://discourse.cmake.org/t/add-test-in-ctesttestfile-cmake-to-contain-relative-paths/1340/6 "2020-06-08T23:56:12Z")

</div>

Hi Rob:  
On a side topic: Do you know where the “exported global variables” are stored, and how to access them?

When I execute this command ’ cmake -G “Eclipse CDT4 - Unix Makefiles” source ’ I see a comment in the generated “readme.md” file as follows:

“The project will export a global variable MACRO\_UTILS\_INC\_FOLDER that points to the folder needed to be included so that the '#include “azure\_macro\_utils/macro\_utils.h” ’ resolves properly”

I cannot find this “exported global variable”. Also, I don’t know how to include these “exported global variables” into a unix makefile to be built with “make”. Any help would be much appreciated.

Thanks,  
Garry Anderson.

---

_[View the full topic](https://discourse.cmake.org/t/add-test-in-ctesttestfile-cmake-to-contain-relative-paths/1340)._
