CoreApp.pro 1.69 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/helpWidget \
Dirk Wilden's avatar
Dirk Wilden committed
23
			    ../widgets/loadWidget ../widgets/optionsWidget ../widgets/PluginDialog \
Dirk Wilden's avatar
Dirk Wilden committed
24
			    ../widgets/viewModeWidget \
25
			    ../widgets/videoCaptureDialog ../widgets/snapshotDialog ../widgets/stereoSettingsWidget
Jan Möbius's avatar
Jan Möbius committed
26 27 28 29

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

unix {
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}/
38
	ICON = $$TOPDIR/OpenFlipper/Icons/OpenFlipper_Icon.icns
39
}
Jan Möbius's avatar
Jan Möbius committed
40 41

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

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

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

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