Permalink
Browse files

Fix cli.pro; Disable xml report in GUI.

  • Loading branch information...
1 parent 4876195 commit 2de33e65084a696e1b9d6ce9d0d7b1955c3039de @scamille scamille committed Oct 28, 2016
Showing with 6 additions and 1 deletion.
  1. +5 −0 cli/cli.pro
  2. +1 −1 qt/sc_window.cpp
View
@@ -3,6 +3,7 @@ include(../simulationcraft.pri)
TEMPLATE = app
TARGET = simc
CONFIG -= qt app_bundle link_prl
+LIBS += -L../lib -lsimcengine
QT -= core gui
# Linux puts binaries to a different place (see simulationcraft.pri)
@@ -18,6 +19,10 @@ win32 {
QMAKE_PROJECT_NAME = "Simulationcraft CLI"
}
+unix {
+LIBS += -lpthread
+}
+
# Deployment for Linux
unix:!macx {
DISTFILES += CHANGES COPYING
View
@@ -860,7 +860,7 @@ void SC_MainWindow::startSim()
sim -> output_file_str = (reportFileBase + ".txt").toStdString();
sim -> html_file_str = (reportFileBase + ".html").toStdString();
- sim -> xml_file_str = (reportFileBase + ".xml").toStdString();
+ //sim -> xml_file_str = (reportFileBase + ".xml").toStdString();
sim -> reforge_plot_output_file_str = (reportFileBase + "_plotdata.csv").toStdString();
if ( optionsTab -> get_api_key().size() == 32 ) // api keys are 32 characters long, it's not worth parsing <32 character keys.

1 comment on commit 2de33e6

@navv1234
Contributor

Where did this actually break, we have:

CONFIG(release, debug|release): LIBS += -L../lib/release -lsimcengine
CONFIG(debug, debug|release): LIBS += -L../lib/debug -lsimcengine

in that file already, which should handle linking in the correct static version of the engine?

Please sign in to comment.