ACG.pro 1.07 KB
Newer Older
Jan Möbius's avatar
 
Jan Möbius committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
################################################################################
#
################################################################################

include( $$TOPDIR/qmake/all.include )
Library()
glew()
glut()

openmesh()

contains( OPENFLIPPER , OpenFlipper ){
   ftgl()
   message(ACG Library is Building for OpenFlipper )
}


DIRECTORIES = . Geometry Config/ Geometry/Types GL Glut IO Math QtWidgets Scenegraph QtScenegraph ShaderUtils Utils

win32 {
 DEFINES += _USE_MATH_DEFINES NOMINMAX INCLUDE_TEMPLATES
# CONFIG  += static
 DEFINES += ACGDLL
 contains( OPENFLIPPER , OpenFlipper ){
   DESTDIR = $${TOPDIR}/OpenFlipper/$${BUILDDIRECTORY}
 }
}

macx {
  QMAKE_LFLAGS_SONAME = -install_name$${LITERAL_WHITESPACE}$${TOPDIR}/ACG/lib/$${BUILDDIRECTORY}/
  export( QMAKE_LFLAGS_SONAME )
}

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

installs()

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