Hi Alain:
Thanks for your previous help with these matters.
I have made some progress, but now I have another problem to solve.
I have partial success in generating Unix Makefiles from CMakeLists.txt by using CMake, but a couple of folders were “exported as global variables” but I have no clue where to find those exports. I cannot see any reference to those global variables in the “makefile" that was generated. The compile fails when it cannot find those INC folders.
Can you help me with this?
Original CMakeLists.txt statements (file attached), that seem to get lost in the Generation process from cmake -G command:
259 include_directories(${MACRO_UTILS_INC_FOLDER})
260 include_directories(${UMOCK_C_INC_FOLDER})
I don’t know how or where the Generated “makefile” gets these two directory links, because I am unable to find either of these “folders” in the makefile, and how to use them.
I did find an interesting comment in the attached 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 #include "azure_macro_utils/macro_utils.h"
resolves properly.”
… but does not say in which location this global variable may be found, nor how to include it into the “makefile” process.
Where are these so-called “global variables” recorded, and how do I get the Generated “makefile” to access these missing folders?
Sorry, but I am totally confused by this situation.
Any clues you can give will be helpful,
Thanks,
Garry.
readme.md (1.45 KB)
CMakeLists.txt (17.1 KB)