]> cygwin.com Git - cygwin-apps/setup.git/blob - package_depends.cc
Use solver to check for problems and produce a list of package transactions
[cygwin-apps/setup.git] / package_depends.cc
1 /*
2 * Copyright (c) 2017 Jon Turney
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * A copy of the GNU General Public License can be found at
10 * http://www.gnu.org/
11 *
12 */
13
14 #include <package_depends.h>
15 #include <LogSingleton.h>
16
17 void
18 dumpPackageDepends (PackageDepends const &currentList,
19 std::ostream &logger)
20 {
21 Log (LOG_BABBLE) << "( ";
22 PackageDepends::const_iterator i = currentList.begin();
23 while (true)
24 {
25 if (i == currentList.end()) break;
26 Log (LOG_BABBLE) << **i << " ";
27 ++i;
28 }
29 Log (LOG_BABBLE) << ")";
30 }
This page took 0.037432 seconds and 5 git commands to generate.