CoreApp.pro 1.54 KB
Newer Older
Jan Möbius's avatar
Jan Möbius committed
1
2
3
4
5
6
################################################################################
#
################################################################################

include( $$TOPDIR/qmake/all.include )

7
8
9
# For the help system
CONFIG += help

Jan Möbius's avatar
Jan Möbius committed
10
11
12
13
14
15
Application()

acg()
openmesh()
glut()
glew()
16
openmp()
17
qt()
Jan Möbius's avatar
Jan Möbius committed
18
19
20

DIRECTORIES =   ../ ../Core ../Logging \
			    ../Scripting  ../Scripting/scriptPrototypes ../Scripting/scriptWrappers ../SimpleOpt \
21
			    ../widgets/aboutWidget ../widgets/addEmptyWidget ../widgets/loggerWidget \
22
                            ../widgets/coreWidget ../widgets/helpAssistant \
Dirk Wilden's avatar
Dirk Wilden committed
23
			    ../widgets/loadWidget ../widgets/optionsWidget ../widgets/PluginDialog \
Jan Möbius's avatar
Jan Möbius committed
24
25
26
27
28
			    ../widgets/viewModeWidget

QMAKE_LIBDIR +=  $${TOPDIR}/OpenFlipper/PluginLib/lib/$${BUILDDIRECTORY}

unix {
29
30
31
32
33
34
35
36
37
	!contains( OPERATING_SYSTEM, Darwin ) {
		LIBS += -Wl,-rpath=$${TOPDIR}/OpenFlipper/PluginLib/lib/$${BUILDDIRECTORY} -lPluginLib
	}	
}

macx {
        LIBS += -L$${TOPDIR}/OpenFlipper/PluginLib/lib/$${BUILDDIRECTORY} -lPluginLib
        QMAKE_LFLAGS_SONAME += -install_name$${LITERAL_WHITESPACE}$${TOPDIR}/OpenFlipper/PluginLib/lib/$${BUILDDIRECTORY}/
}
Jan Möbius's avatar
Jan Möbius committed
38
39

win32 {
40
	LIBS+= -L$${TOPDIR}/OpenFlipper/$${BUILDDIRECTORY} -lPluginLib
Jan Möbius's avatar
Jan Möbius committed
41
42
43
44
45
46
47
48
49
50
51
}

TARGET=OpenFlipper
DESTDIR=$${TOPDIR}/OpenFlipper/$${BUILDDIRECTORY}/

# Input
HEADERS += $$getFilesFromDir($$DIRECTORIES,*.hh)
SOURCES += $$getFilesFromDir($$DIRECTORIES,*.cc)
FORMS   += $$getFilesFromDir($$DIRECTORIES,*.ui)

################################################################################