/* $Id$
This file is part of builder
-Copyright © 2007 Mikko Rasa, Mikkosoft Productions
+Copyright © 2007-2009 Mikko Rasa, Mikkosoft Productions
Distributed under the LGPL
*/
-#include <iostream>
+#include <msp/io/print.h>
#include <msp/strings/utils.h>
#include "binarypackage.h"
#include "builder.h"
use_pkgconfig=false;
}
-/**
-Sets the path where the package files were installed. This is only useful if
-the package doesn't use pkg-config.
-*/
void BinaryPackage::set_path(const Msp::FS::Path &p)
{
path=builder.get_cwd()/p;
argv.push_back("--libs");
argv.push_back(name);
if(builder.get_verbose()>=4)
- cout<<"Running "<<join(argv.begin(), argv.end())<<'\n';
+ IO::print("Running %s\n", join(argv.begin(), argv.end()));
string info=run_command(argv);
if(info.empty())