Why is imgui installation not intuitive?
- Dominant language
- Python
- Stars
- 126
- Forks
- 65
- PR merge metrics
- No merged PRs in 30d
Description
Conan center shows you only this command to install imgui:
```
[requires]
imgui/cci.20230105+1.89.2.docking
```
And this command to find and link it to your app in cmake:
```
# ...
find_package(imgui REQUIRED)
# ...
target_link_libraries(YOUR_TARGET imgui::imgui)
```
But in this repo we see that we need two other libs:
https://github.com/conan-io/examples/blob/3244d6a6275312302bec123559a74126be1f168a/libraries/dear-imgui/basic/conanfile.txt#L3-L4
Bindings:
https://github.com/conan-io/examples/blob/3244d6a6275312302bec123559a74126be1f168a/libraries/dear-imgui/basic/conanfile.txt#L12-L16
Options: https://github.com/conan-io/examples/blob/3244d6a6275312302bec123559a74126be1f168a/libraries/dear-imgui/basic/conanfile.txt#L9-L10
Another generator(that is not showed in conan center instruction):
https://github.com/conan-io/examples/blob/3244d6a6275312302bec123559a74126be1f168a/libraries/dear-imgui/basic/conanfile.txt#L6-L7
Use config keyword for find_package:
https://github.com/conan-io/examples/blob/3244d6a6275312302bec123559a74126be1f168a/libraries/dear-imgui/basic/CMakeLists.txt#L7-L10
And a lot of other things you can see here:
https://github.com/conan-io/examples/blob/master/libraries/dear-imgui/basic/CMakeLists.txt#L7-L10
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.