Change build system to meson

This commit is contained in:
2022-11-08 19:15:16 +01:00
parent a059df7f67
commit 37b6553e48
17 changed files with 208 additions and 118 deletions

View File

@@ -4,16 +4,16 @@
#include "IPrinter.hpp"
#include "P700Printer.hpp"
#include <libusb-1.0/libusb.h>
using namespace ptprnt;
int main(int argc, char** argv) {
std::cout << "Hello ptprnt!" << std::endl;
std::cout << "Hello ptprnt!" << std::endl;
libusb_init(NULL);
auto driver = std::make_unique<driver::P700Driver>();
auto printer = std::make_unique<printer::P700Printer>(std::move(driver));
printer::info info = printer->getInfo();
auto driver = std::make_unique<driver::P700Driver>();
auto printer = std::make_unique<printer::P700Printer>(std::move(driver));
printer::info info = printer->getInfo();
return 0;
return 0;
}