Skip to content

Commit

Permalink
Add some debug logs.
Browse files Browse the repository at this point in the history
  • Loading branch information
grafikrobot committed Apr 4, 2024
1 parent 22d33a1 commit 3d7141d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions add_path.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,12 +134,14 @@ void bcp_implementation::add_file(const fs::path& p)
// Modular libs top jamfile has references to all the user level
// dependent libraries to also include.
//
auto lib = *(++p.begin());
static const boost::regex e(">/boost/([a-zA-Z0-9_]+)");
fileview view(m_boost_path / p);
boost::regex_token_iterator<const char*> i(view.begin(), view.end(), e, 1);
boost::regex_token_iterator<const char*> j;
while(i != j)
{
std::cout << "INFO: Adding modular lib reference from: " << lib << " to: " << *i << "\n";
if (*i == "numeric_conversion") add_path(m_boost_path / "libs/numeric/conversion");
else if (*i == "interval") add_path(m_boost_path / "libs/numeric/interval");
else if (*i == "odeint") add_path(m_boost_path / "libs/numeric/odeint");
Expand Down

0 comments on commit 3d7141d

Please sign in to comment.