# macro-utils-c **Repository Path**: mirrors_Azure/macro-utils-c ## Basic Information - **Project Name**: macro-utils-c - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-10-31 - **Last Updated**: 2026-03-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Microsoft Azure IoT SDKs - macro utils for C This repository contains the following: * **a generation tool for macro_utils.h** to regenerate the file macro_utils.h. Pressing F5 after opening .sln file will regenerate macro_utils.h * **macro_utils.h** a C header file that contains a multitude of very useful C macros ## How to clone the repository ``` git clone https://github.com/Azure/macro-utils-c.git ``` ## How to use the Azure IoT SDKs - macro utils for C In a C source file: `#include "macro_utils/macro_utils.h"` ### Installation To install the Azure IoT SDKs - macro utils for C on your machine, we recommend you use cmake 3.0.0 or higher. - Create a "build" directory and run `cmake ..` from that directory to generate the cmake files. - Run `cmake --build . --target install` to install on your machine #### CMake 3.0.0+ In your project, simply: - `find_package(macro_utils_c REQUIRED CONFIG)` - `target_link_libraries( macro_utils_c)` ## Supported compilers The following compilers are supported: gcc 4.4 (and onwards), Visual Studio 2015 and others.