mirror of
https://github.com/QuasarApp/backward-cpp.git
synced 2025-05-06 06:49:33 +00:00
Readme fixes/clarifications for CMake
Fixed name of BACKWARD_ENABLE variable Changed "myproject" to "mytarget" to avoid confusion
This commit is contained in:
parent
56cd35f97b
commit
6a9a892628
@ -49,10 +49,10 @@ you the trouble, you can easily integrate Backward:
|
|||||||
add_subdirectory(/path/to/backward-cpp)
|
add_subdirectory(/path/to/backward-cpp)
|
||||||
|
|
||||||
# This will add backward.cpp to your target
|
# This will add backward.cpp to your target
|
||||||
add_executable(myproject mysource.cpp ${backward_ENABLE})
|
add_executable(mytarget mysource.cpp ${BACKWARD_ENABLE})
|
||||||
|
|
||||||
# This will add libraries, definitions and include directories needed by backward
|
# This will add libraries, definitions and include directories needed by backward
|
||||||
add_backward(myproject)
|
add_backward(mytarget)
|
||||||
```
|
```
|
||||||
|
|
||||||
### Compile with debug info
|
### Compile with debug info
|
||||||
|
Loading…
x
Reference in New Issue
Block a user