File: lib.pro

package info (click to toggle)
sofa-framework 1.0~beta4-9
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 88,688 kB
  • ctags: 27,205
  • sloc: cpp: 151,126; ansic: 2,387; xml: 581; sh: 417; makefile: 67
file content (42 lines) | stat: -rw-r--r-- 1,010 bytes parent folder | download | duplicates (5)
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
42
SOFA_DIR=../../../..
TEMPLATE = lib

include($${SOFA_DIR}/sofa.cfg)

TARGET = sofamodeler$$LIBSUFFIX
CONFIG += $$CONFIGLIBRARIES
# LIBS += -lsofasimulation$$LIBSUFFIX 
LIBS += $$SOFA_GUI_LIBS
LIBS += $$SOFA_LIBS
LIBS += $$SOFA_EXT_LIBS
INCLUDEPATH += $$SOFA_DIR/extlibs

SOURCES = SofaModeler.cpp \
          GraphModeler.cpp \
          AddPreset.cpp \
          ../../../sofa/gui/qt/SofaPluginManager.cpp

HEADERS = SofaModeler.h \
          GraphModeler.h \
          AddPreset.h \
          ../../../sofa/gui/qt/SofaPluginManager.h

contains (DEFINES, SOFA_QT4) {	

	  CONFIG += $$CONFIGLIBRARIES qt uic uic3
	  QT += qt3support xml
	  FORMS3 += Modeler.ui 
	  FORMS3 += DialogAddPreset.ui
        FORMS3 += ../../../sofa/gui/qt/PluginManager.ui                    
}
else {
	  CONFIG += $$CONFIGLIBRARIES qt
	  FORMS += Modeler.ui
	  FORMS += DialogAddPreset.ui
        FORMS += ../../../sofa/gui/qt/PluginManager.ui                    
}


#add local libraries to the modeler
!include(lib-local.cfg) {
}