get_config.sh: Add in script to easily get current build configuration

This commit is contained in:
Jon Shallow authored and Jon Shallow committed 2023-12-19 16:41:13 +00:00
1 parent a3ed4665a2
commit c162187a6a
2 files changed
+46 -6

No files matched your search

+16 -6
View File
@@ -61,12 +61,22 @@ details, it may not be possible to resolve your issue.**
## libcoap Configuration Summary
Copy all the "libcoap Configuration Summary:" output lines (about 40 lines) here after running
`./configure` (with any options that you have specified)
or
`cmake ..` (with any -D options that you have specified)
or if neither of the above two methods is used (do from within the libcoap directory)
`git describe --tags`
If get_config,sh exists, please copy the output from (do in the top level libcoap directory) :-
```
./get_config.sh
```
Else if using ./configure, please copy the output from (do in the top level libcoap directory) :-
```
cat config.log | egrep "result: | libcoap| host s" | cut -d\ -f3-
```
Else if using cmake, please copy the output from (do in the cmake build directory) :-
```
cmake -LH . | cut -d\ -f2- | egrep "\.\." | egrep "^[A-Z][A-Z]"
```
Else please copy the output from (do from within the libcoap directory) :-
```
git describe --tags --dirty --always
```
## Problem Description