diff options
Diffstat (limited to 'ice40/main.cc')
-rw-r--r-- | ice40/main.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ice40/main.cc b/ice40/main.cc index d47076fd..b723c1fd 100644 --- a/ice40/main.cc +++ b/ice40/main.cc @@ -25,6 +25,7 @@ #include "mainwindow.h" #include "pybindings.h" #include "version.h" +#include "log.h" void svg_dump_el(const GraphicElement &el) { @@ -52,6 +53,8 @@ int main(int argc, char *argv[]) int rc = 0; std::string str; + log_files.push_back(stdout); + po::options_description options("Allowed options"); options.add_options()("help,h", "show help"); options.add_options()("test", "just a check"); @@ -247,6 +250,10 @@ int main(int argc, char *argv[]) execute_python_file(filename.c_str()); } + extern void place_design(Design *d); + place_design(&design); + + if (vm.count("gui")) { QApplication a(argc, argv); MainWindow w; |