GitHub - Azure/azure-macro-utils-c
source link: https://github.com/Azure/azure-macro-utils-c
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
readme.md
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/azure-macro-utils-c.git
How to use the Azure IoT SDKs - macro utils for C
In a C source file: #include "azure_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(azure_macro_utils_c REQUIRED CONFIG)
target_link_libraries(<your_target> azure_macro_utils_c)
CMake 2.*.*
In your project, simply:
target_include_directories(<your_target> PUBLIC ${MACRO_UTILS_INC_FOLDER})
Supported compilers
The following compilers are supported: gcc 4.4 (and onwards), Visual Studio 2015 and others.
CMake integration
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.
Recommend
-
218
Vue Test Utils Component testing utils for Vue 2. Packages This repository provides the following two packages: You can install these packages by the following command. npm install --save-dev @...
-
33
README.md usc-utils-api usc-utils-api is a java api for converting Ulord private key to Ulord-Sidechain private key and vice-versa. To use the a...
-
5
Overview List-manipulation utility functions for Emacs. Quickstart (require 'list-utils) (list-utils-flatten '(1 2 (3 4 (5 6 7)))) ;; '(1 2 3 4 5 6 7) (list-utils-depth '(1 2 (3 4 (5 6 7)))) ;; 3 (let ((...
-
3
Invoke-TheHash Invoke-TheHash contains PowerShell functions for performing pass the hash WMI and SMB tasks. WMI and SMB connections are accessed through the .NET TCPClient. Authentication is performed by passing an NTLM hash into the...
-
3
Overview Utilities for Unicode characters in Emacs. Quickstart (require 'ucs-utils) (ucs-utils-char "Middle Dot" ; character to return ?. ; fallback if unavailable...
-
8
Overview Utility functions for working with fonts in Emacs. Quickstart (require 'font-utils) (font-utils-exists-p "Courier") Explanation Font-utils is a collection of functions for wo...
-
6
Files Permalink Latest commit message Commit time
-
6
THIS REPOSITORY IS DEPRECATED Note: This example is outdated. It's now recommended to scaffold your project with Vue CLI 3 which provides out-of-the-box configurations for unit testin...
-
7
Bot version 3.0 released! Please read Caution notes! Discord-Ban-Utils-Bot Discord Ban Utilities for Mutual Serv...
-
3
secret-utils-lib This library is used for fetching iam token using two possible methods Using Compute Identity Using API key The client code in client directory shows how this library can be used
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK