mirror of
https://github.com/NohamR/RMHook.git
synced 2026-11-25 15:29:50 +00:00
Gate legacy MQTT hook behind CMake option
This commit is contained in:
1 parent
e00ab1d5ed
commit
93b011807c
3 files changed
+23
No files matched your search
@@ -154,6 +154,14 @@ Examples:
|
||||
./scripts/build.sh all # Build with all modes enabled
|
||||
```
|
||||
|
||||
### Optional: Legacy MQTT hook
|
||||
|
||||
The MQTT URI patching hook (`MQTTAsync_createWithOptions`) is kept for legacy use but is **disabled by default**. To enable it, pass the CMake option when building:
|
||||
|
||||
```bash
|
||||
cmake -DRMHOOK_ENABLE_MQTT=ON ..
|
||||
```
|
||||
|
||||
## Debugging
|
||||
|
||||
You can stream the macOS console logs to see output from the hooks:
|
||||
|
||||
Reference in new issue
Block a user