Package: libtbb-dev
Version: 2018~U6-4
X-Debbugs-CC: [email protected]

TBB provides a TBBInstallConfig CMake module to generate TBBConfig files
for packages:
see description here
https://github.com/intel/tbb/blob/tbb_2019/cmake/README.rst#tbbinstallconfig

TBBConfig files are automatically invoked by CMake when you use
"find_package(TBB <...>)" (just like FindTBB.cmake module).

Some advantages of TBBConfig in comparison with FindTBB.cmake:
1. TBBConfig provides imported targets which can be used in modern CMake
style (while current FindTBB.cmake provides variables).
2. TBBConfig works for the exact package, it won't look for TBB stuff in
other places except the specific one.
3. Generator of TBBConfig files is maintained on TBB side that allows to
align usage model across different distributions.

TBBInstallConfig is already used
- in Homebrew tbb formula:
https://github.com/Homebrew/homebrew-core/blob/master/Formula/tbb.rb#L35..L38
- in TBB packaging script (which is used in conda-forge, for example):
https://github.com/intel/tbb/blob/tbb_2019/build/build.py#L157..L167
-- 
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to