Skip to content

Commit d76daed

Browse files
committed
docs: import steps
1 parent c8c5d19 commit d76daed

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@
22

33
This header-only macro library provides common GCC utility macros.
44

5+
# Include in Your Project
6+
7+
* Add the fetch file to your repo: `wget https://github.com/intercreate/ic-macros/releases/latest/download/fetch_ic_macros.cmake`
8+
* Include and link in your CMakeLists.txt:
9+
```cmake
10+
include(fetch_ic_macros.cmake)
11+
#...
12+
target_link_libraries(my_cmake_project PRIVATE ic_macros)
13+
```
14+
* Include in your source code:
15+
```c
16+
#include <ic_macros.h>
17+
```
18+
519
# Contributions
620

721
* Fork this repository: https://github.com/intercreate/ic-macros/fork

0 commit comments

Comments
 (0)