summaryrefslogtreecommitdiffstats
path: root/addon/doxywizard/doxywizard.pro.in
diff options
context:
space:
mode:
Diffstat (limited to 'addon/doxywizard/doxywizard.pro.in')
-rw-r--r--addon/doxywizard/doxywizard.pro.in18
1 files changed, 12 insertions, 6 deletions
diff --git a/addon/doxywizard/doxywizard.pro.in b/addon/doxywizard/doxywizard.pro.in
index 3e96901..5337781 100644
--- a/addon/doxywizard/doxywizard.pro.in
+++ b/addon/doxywizard/doxywizard.pro.in
@@ -12,7 +12,8 @@
# project file for the doxywizard project
# special template configuration file because we use flex
-TEMPLATE = doxywizard.t
+unix:TEMPLATE = app.t
+win32:TEMPLATE = doxywizard.t
# executable to generate
TARGET = ../../bin/doxywizard
@@ -28,8 +29,8 @@ HEADERS = doxywizard.h \
inputbool.h \
inputstrlist.h \
inputint.h \
- config.h \
pixmaps.h
+win32:HEADERS += config.h
# source flle for the project
SOURCES = doxywizard.cpp \
@@ -39,8 +40,8 @@ SOURCES = doxywizard.cpp \
inputbool.cpp \
inputstrlist.cpp \
inputint.cpp \
- config.cpp \
pixmaps.cpp
+win32:SOURCES += config.cpp
# where to put the objects
OBJECTS_DIR = obj
@@ -49,7 +50,12 @@ OBJECTS_DIR = obj
MOC_DIR = moc
# extra C++ compiler options
-TMAKE_CXXFLAGS += -DDOXYWIZARD
-win32:TMAKE_CXXFLAGS += -I. -DQT_DLL
-win32:TMAKE_LIBS = $(QTDIR)\lib\qtmain.lib $(QTDIR)\lib\qt-mt230nc.lib user32.lib gdi32.lib comdlg32.lib imm32.lib ole32.lib uuid.lib wsock32.lib
+INCLUDEPATH += ../../src
+win32:TMAKE_CXXFLAGS += -DQT_DLL
+win32:INCLUDEPATH += .
+
+# extra link options
+win32:TMAKE_LIBS = $(QTDIR)\lib\qtmain.lib $(QTDIR)\lib\qt-mt230nc.lib user32.lib gdi32.lib comdlg32.lib imm32.lib ole32.lib uuid.lib wsock32.lib
+win32:TMAKE_LIBS_QT =
+unix:LIBS = -L../../lib -ldoxycfg