# Where are Exported Global Variables?

**URL:** https://discourse.cmake.org/t/where-are-exported-global-variables/1299
**Category:** Code
**Tags:** gen:makefiles
**Created:** [June 1, 2020, 4:15am UTC](https://discourse.cmake.org/t/where-are-exported-global-variables/1299 "2020-06-01T04:15:53Z")
**Posts on this page:** 2
**Page:** 1

<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 1, 2020, 4:15am UTC](https://discourse.cmake.org/t/where-are-exported-global-variables/1299/1 "2020-06-01T04:15:53Z")

</div>

Community Gurus:

Does anybody 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”. Any help would be much appreciated.

Thanks,  
Garry Anderson.

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)
#### Post date: [November 9, 2020, 9:50pm UTC](https://discourse.cmake.org/t/where-are-exported-global-variables/1299/2 "2020-11-09T21:50:34Z")

</div>

Exported global variables don’t exist. I suspect they mean that such a variable will be available when you `find_package(macro-utils)` (guessing the package name here). This variable is likely in a `macro-utils-config.cmake` file.
