mirror of
https://github.com/QuasarApp/backward-cpp.git
synced 2025-05-03 05:19: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)
|
||||
|
||||
# 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
|
||||
add_backward(myproject)
|
||||
add_backward(mytarget)
|
||||
```
|
||||
|
||||
### Compile with debug info
|
||||
|
Loading…
x
Reference in New Issue
Block a user