Skip to content

Commit

Permalink
We do not use the env.var OPENMODELICAHOME
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoelund committed May 6, 2015
1 parent 6f8d233 commit 5f32b3a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 2 additions & 0 deletions Makefile.in
Expand Up @@ -25,6 +25,8 @@ omedit: mkbuilddirs qjson
$(MAKE) -C OMEdit/OMEditGUI -f Makefile.unix
clean:
$(MAKE) -C OMEdit/OMEditGUI -f Makefile.unix clean
test ! -f qjson-0.8.1/build/Makefile || $(MAKE) -C qjson-0.8.1/build clean
rm -f qjson-0.8.1/build/Makefile
distclean: clean
rm -f config.status configure Makefile OMEdit/OMEditGUI/Makefile.unix OMEdit/OMEditGUI/OMEdit.config
Makefile: Makefile.in config.status
Expand Down
7 changes: 4 additions & 3 deletions OMEdit/OMEditGUI/OMEditGUI.pro
Expand Up @@ -57,6 +57,7 @@ evil_hack_to_fool_lupdate {

# Windows libraries and includes
win32 {
OPENMODELICAHOME = $$(OPENMODELICAHOME)
QMAKE_LFLAGS += -enable-auto-import

DEFINES += IMPORT_INTO=1
Expand Down Expand Up @@ -93,7 +94,7 @@ SOURCES += main.cpp \
Util/backtrace.c \
Util/Helper.cpp \
MainWindow.cpp \
$$(OPENMODELICAHOME)/include/omc/scripting-API/OpenModelicaScriptingAPIQt.cpp \
$$OPENMODELICAHOME/include/omc/scripting-API/OpenModelicaScriptingAPIQt.cpp \
OMC/OMCProxy.cpp \
Util/StringHandler.cpp \
Modeling/MessagesWidget.cpp \
Expand Down Expand Up @@ -212,7 +213,7 @@ HEADERS += Util/backtrace.h \
CrashReport/CrashReportDialog.h \
OMC/Parser/OMCOutputParser.h \
OMC/Parser/OMCOutputLexer.h \
$$(OPENMODELICAHOME)/include/omc/scripting-API/OpenModelicaScriptingAPIQt.h
$$OPENMODELICAHOME/include/omc/scripting-API/OpenModelicaScriptingAPIQt.h

LIBS += -lqjson
INCLUDEPATH += ../../qjson-0.8.1/build/include
Expand All @@ -237,7 +238,7 @@ INCLUDEPATH += . \
Simulation \
TransformationalDebugger \
Util \
$$(OPENMODELICAHOME)/include/omc/scripting-API
$$OPENMODELICAHOME/include/omc/scripting-API

OTHER_FILES += Resources/css/stylesheet.qss \
Debugger/Parser/GDBMIOutput.g \
Expand Down
4 changes: 4 additions & 0 deletions OMEdit/OMEditGUI/main.cpp
Expand Up @@ -74,6 +74,10 @@
#include "CrashReportDialog.h"
#include "meta/meta_modelica.h"

#ifndef WIN32
#include "omc_config.h"
#endif

#ifdef QT_NO_DEBUG
#ifndef WIN32
#include <signal.h>
Expand Down

0 comments on commit 5f32b3a

Please sign in to comment.