# MACRO\_UTILS\_INC\_FOLDER Location?

**URL:** <https://discourse.cmake.org/t/macro-utils-inc-folder-location/1291>\
**Category:** Community\
**Tags:** os:windows\
**Created:** [May 29, 2020, 4:58am UTC](https://discourse.cmake.org/t/macro-utils-inc-folder-location/1291 "2020-05-29T04:58:27Z")\
**Posts on this page:** 1\
**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:** [May 29, 2020, 4:58am UTC](https://discourse.cmake.org/t/macro-utils-inc-folder-location/1291/1 "2020-05-29T04:58:27Z")

</div>

1. I have Microsoft Azure IoT SKDs project, compiled with VS2017.
2. I run command-line cmake -G “Eclipse CDT4 - Unix Makefiles” to generate makefiles tree
3. The generated makefile fails to resolve MACRO\_UTILS\_INC\_FOLDER and UMOCK\_C\_INC\_FOLDER
4. These two lines in CMakeLists.txt have not been put in makefile, hence the failure:  
include\_directories($(MACRO\_UTILS\_INC\_FOLDER));  
include\_directories($(UMOCK\_C\_INC\_FOLDER));
5. I run command-line **make makefile** , but get failures for Macro Utils and Umock C
6. In readme.md file in deps/azure-macro-utils-c folder we see CMake Intergration comment as follows: "The project will export a global variable MACRO\_UTILS\_INC\_FOLDER that points to the folder needed to be included so that "include “azure\_acro\_utitls/macro\_utiils.h” resolves properly.
7. Can somebody please decode this **readme.md** statement for me, and answer these questions: Where is this global variable, How is it included in the readme file that builds from command line, and Why was this not done by the Generate command from cmake?  
Thank you.
