conan-io / conan-center-index

Recipes for the ConanCenter repository
https://conan.io/center
MIT License
943 stars 1.71k forks source link

[question] How to use the `doxygen` package? Does it miss some features? #10996

Open hwhsu1231 opened 2 years ago

hwhsu1231 commented 2 years ago

I found that there is the doxygen package in ConanCenter. But I don't know how to use with it? Does it miss some features which there should be?

When I used CMakeDeps generator to install it and then used find_package(doxygen CONFIG REQUIRED) to find the generated config files, it just created an "IMPORTED library target" called doxygen::doxygen. It seems that the only usage of it is target_link_libraries() with it. However, I didn't see any Header or Library in the package folder.

However, in FindDoxygen built-in module of CMake, it provides some "IMPORTED executable targets":

Doxygen::doxygen
Doxygen::dot
Doxygen::mscgen
Doxygen::dia

And a function called doxygen_add_docs along with some Deprecated Variables.

I think the above-mentioned stuffs are the missing features of doxygen package.

uilianries commented 2 years ago

@hwhsu1231 You are missing nothing, actually, the recipe is missing those targets. Contributions are welcome 😉

The official recipe is listed here: https://github.com/conan-io/conan-center-index/blob/master/recipes/doxygen/all/conanfile.py

Please, read https://github.com/conan-io/conan-center-index/blob/master/docs/how_to_add_packages.md and free to open a PR for improvement.