Skip to content

Commit 57aa040

Browse files
committed
Add short description of RSP_GCC_STRICT_COMPILE_OPTIONS
1 parent 64a9f00 commit 57aa040

File tree

1 file changed

+26
-0
lines changed
  • docs/+current/modules/compiler

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
title: GCC
3+
description: How to use the compiler module.
4+
keywords: gcc, compiler, cmake
5+
author: RSP Systems A/S
6+
---
7+
8+
# GCC
9+
10+
Helpers and utilities that are specific for [GNU Compiler Collection (GCC)](https://gcc.gnu.org/).
11+
12+
[TOC]
13+
14+
## Compile Options
15+
16+
### Strict
17+
18+
Use `RSP_GCC_STRICT_COMPILE_OPTIONS` when you wish to enable strict compile options.
19+
20+
```cmake
21+
include("rsp/compiler")
22+
23+
add_compile_options(${RSP_GCC_STRICT_COMPILE_OPTIONS})
24+
```
25+
26+
For additional information, please review the `RSP_GCC_STRICT_COMPILE_OPTIONS` list, in the source code.

0 commit comments

Comments
 (0)