conda-forge / boost-feedstock

A conda-smithy repository for boost.
BSD 3-Clause "New" or "Revised" License
15 stars 41 forks source link

Does conda support helpers to generate props file for a conda package installed to be consumed in a C++ project? #186

Open sandybhat16 opened 1 year ago

sandybhat16 commented 1 year ago

Comment:

I want to include the conda package that has been installed in my C++ project using the props file. Is there a way to generate a props file in conda for an installed package?

If not, what are the other ways to include the installed conda package in a C++ project? I do not want to use CMake, hence taking the props file approach.

h-vetinari commented 11 months ago

Can you explain what you mean or need exactly? No-one's forcing you to use the CMake metadata that comes with the package. The headers are in $CONDA_PREFIX/include/boost, and the libraries are under $CONDA_PREFIX/lib/libboost_*.so, you can use those without CMake of course.

PS. I've transferred this issue to the correct feedstock, as https://github.com/conda-forge/boost-cpp-feedstock will soon be archived.