DUNE-DAQ / daq-buildtools

Make life for developers easier through a collection of CMake functions and scripts
0 stars 1 forks source link

Better warning message for when a package isn't in `dbt-build-order.cmake` #262

Closed jcfreeman2 closed 8 months ago

jcfreeman2 commented 9 months ago

Filing this Issue because Wes ran into this warning this morning with dqmtools and didn't know what to do about it:

Package "dqmtools" not provided to the daq_add_subpackages function
  in /nfs/sw/dunedaq/dunedaq-fddaq-v4.3.0-rc1-dqm/sourcecode/CMakeLists.txt.
  dqmtools will only be built after the provided packages are built.  There's
  no guarantee this is the correct order; if you know where dqmtools should
  be in the dependency hierarchy add it to its appropriate place in the list
  of packages provided to daq_add_subpackages.

While dealing with this is covered in https://dune-daq-sw.readthedocs.io/en/latest/packages/daq-buildtools/#working-with-more-repos, from the warning message itself on the terminal it's not super-simple for a user to figure out what to do.