unix:TEMPLATE = lib
win32:TEMPLATE = vclib
-DESTDIR = ../../$(CONFIG_ID)/lib
-MOC_DIR = ../../moc
-OBJECTS_DIR = ../../$(CONFIG_ID)/obj/$$TARGET
+include(../Common.pro)
CAS_CPPFLAGS = $(CASINC)
CAS_VIEWER = -L$(CASLIB) -lTKV3d -lTKService
-INCLUDEPATH += ../../include $${CAS_CPPFLAGS}
-LIBS += -L../../$(CONFIG_ID)/lib $${CAS_KERNEL} $${CAS_VIEWER} -lQtx -lSUIT -lSTD
-
-CONFIG -= debug release debug_and_release
-CONFIG += qt thread debug dll shared
+INCLUDEPATH += $${CAS_CPPFLAGS}
+LIBS += $${CAS_KERNEL} $${CAS_VIEWER} -lQtx -lSUIT -lSTD
win32:DEFINES += WIN32
DEFINES += $(CASDEFINES) CAF_EXPORTS OCC_VERSION_MAJOR=6 OCC_VERSION_MINOR=1 OCC_VERSION_MAINTENANCE=1 LIN LINTEL CSFDB No_exception HAVE_CONFIG_H HAVE_LIMITS_H HAVE_WOK_CONFIG_H OCC_CONVERT_SIGNALS
-HEADERS = *.h
-
-SOURCES = *.cxx
-
-TRANSLATIONS = resources/CAF_images.ts \
- resources/CAF_msg_en.ts
-
-unix:GUIResources = ../../resources
-win32:GUIResources = ..\\..\\resources
-
-lrelease.name = LRELASE ${QMAKE_FILE_IN}
-unix:lrelease.commands = $(QTDIR)/bin/lrelease ${QMAKE_FILE_NAME} -qm $${GUIResources}/${QMAKE_FILE_BASE}.qm
-win32:lrelease.commands = $(QTDIR)\\bin\\lrelease ${QMAKE_FILE_IN} -qm $${GUIResources}\\${QMAKE_FILE_BASE}.qm
-unix:lrelease.output = $${GUIResources}/${QMAKE_FILE_BASE}.qm
-win32:lrelease.output = $${GUIResources}\\${QMAKE_FILE_BASE}.qm
-lrelease.input = TRANSLATIONS
-unix:lrelease.clean = $${GUIResources}/${QMAKE_FILE_BASE}.qm
-win32:lrelease.clean = $${GUIResources}\\${QMAKE_FILE_BASE}.qm
-lrelease.CONFIG += no_link target_predeps
-QMAKE_EXTRA_COMPILERS += lrelease
-
-ICONS = resources/*.png
-
-includes.files = $$HEADERS
-includes.path = ../../include
-
-resources.files = $$ICONS resources/*.xml resources/*.ini
-resources.path = ../../resources
+include(../Translations.pro)
+include(../Resources.pro)
-INSTALLS += includes resources
CONFIG += release
}
+win32:QMAKE_MOC=$(QTDIR)\bin\moc.exe
+
+isEmpty( HEADERS ):HEADERS = *.h
+isEmpty( SOURCES ):SOURCES = *.cxx
+
+MOC_DIR = ../../moc
+OBJECTS_DIR = ../../$$(CONFIG_ID)/$$(CONFIG_MODE)/obj/$$TARGET
+
+unix {
+ contains( TEMPLATE, lib ) {
+ DESTDIR = ../../$(CONFIG_ID)/lib
+ } else {
+ DESTDIR = ../../$(CONFIG_ID)/bin
+ }
+
+ INCLUDEPATH += ../../include
+ LIBS += -L../../$(CONFIG_ID)/lib
+
+ GUIResources = ../../resources
+
+ includes.files = $$HEADERS
+ includes.path = ../../include
+
+ INSTALLS += includes
+}
+
+win32 {
+ contains( TEMPLATE, vclib ) {
+ DESTDIR = $$(SUIT_DIR)/$$(CONFIG_ID)/lib/$$(CONFIG_MODE)
+ } else {
+ DESTDIR = $$(SUIT_DIR)/$$(CONFIG_ID)/bin/$$(CONFIG_MODE)
+ }
+
+ HEADERS_DIR = $$(SUIT_DIR)/$$(CONFIG_ID)/include
+ INCLUDEPATH += $${HEADERS_DIR}
+ LIBS += -L$$(SUIT_DIR)/$$(CONFIG_ID)/lib/$$(CONFIG_MODE)
+
+ copy_hdr.name = Install ${QMAKE_FILE_IN}
+ copy_hdr.commands = type ${QMAKE_FILE_IN} > ${QMAKE_FILE_OUT}
+ copy_hdr.output = $${HEADERS_DIR}/${QMAKE_FILE_NAME}
+ copy_hdr.input = HEADERS
+ QMAKE_EXTRA_COMPILERS += copy_hdr
+
+ GUIResources = $$(SUIT_DIR)\\$$(CONFIG_ID)\\resources
+}
+
+
+
+# On Win32, disable optimization and generate debug info in release mode
+win32 {
+ QMAKE_CXXFLAGS_RELEASE *= /Od /Zi
+ QMAKE_LFLAGS_RELEASE *= /DEBUG
+}
+
+
-TEMPLATE = lib\r
-TARGET = Event\r
-\r
-include(../Common.pro)\r
-\r
-DESTDIR = ../../$(CONFIG_ID)/lib\r
-MOC_DIR = ../../moc\r
-OBJECTS_DIR = ../../$(CONFIG_ID)/obj/$$TARGET\r
-\r
-INCLUDEPATH += ../../include\r
-LIBS += \r
-\r
-win32:DEFINES += WIN32 \r
-DEFINES += EVENT_EXPORTS\r
-\r
-HEADERS = Event.h\r
-HEADERS += SALOME_Event.h\r
-\r
-SOURCES = SALOME_Event.cxx\r
-\r
-includes.files = $$HEADERS\r
-includes.path = ../../include\r
-\r
-INSTALLS += includes\r
+unix:TEMPLATE = lib
+win32:TEMPLATE = vclib
+TARGET = Event
+
+include(../Common.pro)
+
+win32:LIBS *= -L$(QTLIB)
+win32:INCLUDEPATH *= $(QTINC) $(QTINC)\QtCore $(QTINC)\QtGui
+
+win32:DEFINES += WNT WIN32
+
+DEFINES += EVENT_EXPORTS
unix:TEMPLATE = lib
win32:TEMPLATE = vclib
+HEADERS = *.hxx
include(../Common.pro)
-DESTDIR = ../../$(CONFIG_ID)/lib
-MOC_DIR = ../../moc
-OBJECTS_DIR = ../../$(CONFIG_ID)/obj/$$TARGET
-
CAS_CPPFLAGS = $(CASINC)
CAS_KERNEL = -L$(CASLIB) -lTKernel
CAS_VIEWER = -L$(CASLIB) -lTKV3d -lTKService
-INCLUDEPATH += ../../include $${CAS_CPPFLAGS}
-LIBS += -L../../$(CONFIG_ID)/lib $${CAS_KERNEL} $${CAS_VIEWER}
+INCLUDEPATH += $${CAS_CPPFLAGS}
+LIBS += $${CAS_KERNEL} $${CAS_VIEWER}
win32:LIBS *= -L$(QTLIB)
win32:INCLUDEPATH *= $(QTINC) $(QTINC)\QtCore $(QTINC)\QtGui $(QTINC)\QtXml
-win32:copy_hdr.name = Install ${QMAKE_FILE_IN}
-win32:copy_hdr.commands = type ${QMAKE_FILE_IN} > ../../include/${QMAKE_FILE_BASE}.hxx
-win32:copy_hdr.output = ../../include/${QMAKE_FILE_BASE}.hxx
-win32:copy_hdr.input = HEADERS
-win32:QMAKE_EXTRA_COMPILERS += copy_hdr
-
win32:DEFINES += WNT WIN32
DEFINES += HTMLSERVICE_EXPORTS $(CASDEFINES) OCC_VERSION_MAJOR=6 OCC_VERSION_MINOR=1 OCC_VERSION_MAINTENANCE=1 LIN LINTEL CSFDB No_exception HAVE_CONFIG_H HAVE_LIMITS_H HAVE_WOK_CONFIG_H OCC_CONVERT_SIGNALS
-
-HEADERS = *.hxx
-
-SOURCES = *.cxx
-
-includes.files = $$HEADERS
-includes.path = ../../include
-
-INSTALLS += includes
include(../Common.pro)
-win32:QMAKE_MOC=$(QTDIR)\bin\moc.exe
-
-DESTDIR = ../../$(CONFIG_ID)/lib
-MOC_DIR = ../../moc
-OBJECTS_DIR = ../../$(CONFIG_ID)/obj/$$TARGET
-
-INCLUDEPATH = ../../include
-LIBS += -L../../$(CONFIG_ID)/lib -lSUIT -lQtx
+LIBS += -lSUIT -lQtx
win32:LIBS *= -L$(QTLIB)
win32:INCLUDEPATH *= $(QTINC) $(QTINC)\QtCore $(QTINC)\QtGui $(QTINC)\QtXml
win32:DEFINES += WNT WIN32
DEFINES += LOGWINDOW_EXPORTS
-HEADERS = *.h
-
-SOURCES = *.cxx
-
-TRANSLATIONS = resources/LogWindow_msg_en.ts
-
-unix:GUIResources = ../../resources
-win32:GUIResources = ..\\..\\resources
-
-lrelease.name = LRELASE ${QMAKE_FILE_IN}
-unix:lrelease.commands = $(QTDIR)/bin/lrelease ${QMAKE_FILE_NAME} -qm $${GUIResources}/${QMAKE_FILE_BASE}.qm
-win32:lrelease.commands = $(QTDIR)\\bin\\lrelease ${QMAKE_FILE_IN} -qm $${GUIResources}\\${QMAKE_FILE_BASE}.qm
-unix:lrelease.output = $${GUIResources}/${QMAKE_FILE_BASE}.qm
-win32:lrelease.output = $${GUIResources}\\${QMAKE_FILE_BASE}.qm
-lrelease.input = TRANSLATIONS
-unix:lrelease.clean = $${GUIResources}/${QMAKE_FILE_BASE}.qm
-win32:lrelease.clean = $${GUIResources}\\${QMAKE_FILE_BASE}.qm
-lrelease.CONFIG += no_link target_predeps
-QMAKE_EXTRA_COMPILERS += lrelease
-
-win32:copy_hdr.name = Install ${QMAKE_FILE_IN}
-win32:copy_hdr.commands = type ${QMAKE_FILE_IN} > ../../include/${QMAKE_FILE_BASE}.h
-win32:copy_hdr.output = ../../include/${QMAKE_FILE_BASE}.h
-win32:copy_hdr.input = HEADERS
-win32:QMAKE_EXTRA_COMPILERS += copy_hdr
-
-includes.files = $$HEADERS
-includes.path = ../../include
-
-INSTALLS += includes
+include(../Translations.pro)
unix:TEMPLATE = lib
win32:TEMPLATE = vclib
-include(../Common.pro)
-
-win32:QMAKE_MOC=$(QTDIR)\bin\moc.exe
+HEADERS = *.hxx *.ixx *.jxx
-DESTDIR = ../../$(CONFIG_ID)/lib
-MOC_DIR = ../../moc
-OBJECTS_DIR = ../../$(CONFIG_ID)/obj/$$TARGET
+include(../Common.pro)
CAS_CPPFLAGS = $(CASINC)
unix:CAS_LDPATH = -L$(CASLIB) -lTKV3d
win32:CAS_LDPATH = -L$(CASLIB) -lTKernel -lTKMath -lTKV3d
-INCLUDEPATH += ../../include $${CAS_CPPFLAGS}
+INCLUDEPATH += $${CAS_CPPFLAGS}
LIBS += $${CAS_LDPATH}
win32:LIBS *= -L$(QTLIB)
win32:INCLUDEPATH *= $(QTINC) $(QTINC)\QtCore $(QTINC)\QtGui $(QTINC)\QtXml
win32:DEFINES += WNT WIN32
DEFINES += $(CASDEFINES) OCC_VERSION_MAJOR=6 OCC_VERSION_MINOR=1 OCC_VERSION_MAINTENANCE=1 LIN LINTEL CSFDB No_exception HAVE_CONFIG_H HAVE_LIMITS_H HAVE_WOK_CONFIG_H OCC_CONVERT_SIGNALS
-HEADERS = *.hxx
-HEADERS += *.h
-HEADERS += *.ixx
-HEADERS += *.jxx
-
-SOURCES = *.cxx
-
-win32:COPY_FILES = *.hxx *.h
-win32:copy_hxx.name = Install(.hxx) ${QMAKE_FILE_IN}
-win32:copy_hxx.commands = type ${QMAKE_FILE_IN} > ../../include/${QMAKE_FILE_BASE}.hxx
-win32:copy_hxx.output = ../../include/${QMAKE_FILE_BASE}.hxx
-win32:copy_hxx.input = COPY_FILES
-win32:QMAKE_EXTRA_COMPILERS += copy_hxx
-
-includes.files = $$HEADERS
-includes.path = ../../include
-
-INSTALLS += includes
include(../Common.pro)
-win32:QMAKE_MOC=$(QTDIR)\bin\moc.exe
-
-DESTDIR = ../../$(CONFIG_ID)/lib
-MOC_DIR = ../../moc
-OBJECTS_DIR = ../../$(CONFIG_ID)/obj/$$TARGET
-
-INCLUDEPATH += ../../include ../Qtx
-LIBS += -L../../$(CONFIG_ID)/lib -lQtx
+INCLUDEPATH += ../Qtx
+LIBS += -lQtx
win32:LIBS *= -L$(QTLIB)
win32:INCLUDEPATH *= $(QTINC) $(QTINC)\QtCore $(QTINC)\QtGui $(QTINC)\QtXml
win32:DEFINES += WNT WIN32
DEFINES += OB_EXPORTS
-HEADERS = *.h
-
-SOURCES = *.cxx
-
-TRANSLATIONS = resources/OB_msg_en.ts
-
-unix:GUIResources = ../../resources
-win32:GUIResources = ..\\..\\resources
-
-lrelease.name = LRELASE ${QMAKE_FILE_IN}
-unix:lrelease.commands = $(QTDIR)/bin/lrelease ${QMAKE_FILE_NAME} -qm $${GUIResources}/${QMAKE_FILE_BASE}.qm
-win32:lrelease.commands = $(QTDIR)\\bin\\lrelease ${QMAKE_FILE_IN} -qm $${GUIResources}\\${QMAKE_FILE_BASE}.qm
-unix:lrelease.output = $${GUIResources}/${QMAKE_FILE_BASE}.qm
-win32:lrelease.output = $${GUIResources}\\${QMAKE_FILE_BASE}.qm
-lrelease.input = TRANSLATIONS
-unix:lrelease.clean = $${GUIResources}/${QMAKE_FILE_BASE}.qm
-win32:lrelease.clean = $${GUIResources}\\${QMAKE_FILE_BASE}.qm
-lrelease.CONFIG += no_link target_predeps
-QMAKE_EXTRA_COMPILERS += lrelease
-
-win32:copy_hdr.name = Install ${QMAKE_FILE_IN}
-win32:copy_hdr.commands = type ${QMAKE_FILE_IN} > ../../include/${QMAKE_FILE_BASE}.h
-win32:copy_hdr.output = ../../include/${QMAKE_FILE_BASE}.h
-win32:copy_hdr.input = HEADERS
-win32:QMAKE_EXTRA_COMPILERS += copy_hdr
-
-
-includes.files = $$HEADERS
-includes.path = ../../include
+include(../Translations.pro)
-INSTALLS += includes
include(../Common.pro)
-win32:QMAKE_MOC=$(QTDIR)\bin\moc.exe
-
-DESTDIR = ../../$(CONFIG_ID)/lib
-MOC_DIR = ../../moc
-OBJECTS_DIR = ../../$(CONFIG_ID)/obj/$$TARGET
-
-INCLUDEPATH += ../../include $$(QWTINC) $$(PYTHONINC)
+INCLUDEPATH += $$(QWTINC) $$(PYTHONINC)
INCLUDEPATH += ../Qtx ../SUIT
unix:LIBS += -L$$(QWTLIB) -lqwt
win32:LIBS += /LIBPATH:$$(QWTLIB) -lqwt5
-LIBS += -L../../$(CONFIG_ID)/lib -lQtx -lSUIT
+LIBS += -lQtx -lSUIT
win32:LIBS *= -L$(QTLIB)
win32:INCLUDEPATH *= $(QTINC) $(QTINC)\QtCore $(QTINC)\QtGui $(QTINC)\QtXml
win32:DEFINES += WNT WIN32 QWT_DLL
DEFINES += PLOT2D_EXPORTS
-HEADERS = *.h
-
-SOURCES = *.cxx
-
-TRANSLATIONS = resources/Plot2d_msg_en.ts \
- resources/Plot2d_images.ts
-
-unix:GUIResources = ../../resources
-win32:GUIResources = ..\\..\\resources
-
-win32:copy_hdr.name = Install headers ${QMAKE_FILE_IN}
-win32:copy_hdr.commands = type ${QMAKE_FILE_IN} > ${QMAKE_FILE_OUT}
-win32:copy_hdr.output = ../../include/${QMAKE_FILE_BASE}.h
-win32:copy_hdr.input = HEADERS
-win32:QMAKE_EXTRA_COMPILERS += copy_hdr
-
-lrelease.name = LRELASE ${QMAKE_FILE_IN}
-unix:lrelease.commands = $(QTDIR)/bin/lrelease ${QMAKE_FILE_NAME} -qm ${QMAKE_FILE_OUT}
-win32:lrelease.commands = $(QTDIR)\\bin\\lrelease ${QMAKE_FILE_IN} -qm ${QMAKE_FILE_OUT}
-unix:lrelease.output = $${GUIResources}/${QMAKE_FILE_BASE}.qm
-win32:lrelease.output = $${GUIResources}\\${QMAKE_FILE_BASE}.qm
-lrelease.input = TRANSLATIONS
-unix:lrelease.clean = $${GUIResources}/${QMAKE_FILE_BASE}.qm
-win32:lrelease.clean = $${GUIResources}\\${QMAKE_FILE_BASE}.qm
-lrelease.CONFIG += no_link target_predeps
-QMAKE_EXTRA_COMPILERS += lrelease
-
-ICONS = resources/*.png
-
-win32:SOURCES+=$$ICONS
-win32:Resource=$$ICONS
-win32:copy_res.name = Install resources ${QMAKE_FILE_IN}
-win32:copy_res.commands = type ${QMAKE_FILE_IN} > ${QMAKE_FILE_OUT}
-win32:copy_res.output = $${GUIResources}\\${QMAKE_FILE_BASE}.png
-win32:copy_res.input = Resource
-win32:QMAKE_EXTRA_COMPILERS += copy_res
-
-includes.files = $$HEADERS
-includes.path = ../../include
-
-resources.files = $$ICONS
-resources.path = ../../resources
-
-INSTALLS += includes resources
+include(../Translations.pro)
+include(../Resources.pro)
\ No newline at end of file
include(../Common.pro)
-win32:QMAKE_MOC=$(QTDIR)\bin\moc.exe
-
-DESTDIR = ../../$(CONFIG_ID)/lib
-MOC_DIR = ../../moc
-OBJECTS_DIR = ../../$(CONFIG_ID)/obj/$$TARGET
-
win32:LIBS *= -L$(QTLIB)
win32:INCLUDEPATH *= $(QTINC) $(QTINC)\QtCore $(QTINC)\QtGui $(QTINC)\QtXml
win32:DEFINES += WNT WIN32
DEFINES += PRS_EXPORTS
-
-HEADERS = *.h
-
-SOURCES = *.cxx
-
-win32:copy_hdr.name = Install ${QMAKE_FILE_IN}
-win32:copy_hdr.commands = type ${QMAKE_FILE_IN} > ../../include/${QMAKE_FILE_BASE}.h
-win32:copy_hdr.output = ../../include/${QMAKE_FILE_BASE}.h
-win32:copy_hdr.input = HEADERS
-win32:QMAKE_EXTRA_COMPILERS += copy_hdr
-
-includes.files = $$HEADERS
-includes.path = ../../include
-
-INSTALLS += includes
include(../Common.pro)
-win32:QMAKE_MOC=$(QTDIR)\bin\moc.exe
-
-DESTDIR = ../../$(CONFIG_ID)/lib
-MOC_DIR = ../../moc
-OBJECTS_DIR = ../../$(CONFIG_ID)/obj/$$TARGET
-
-INCLUDEPATH += ../../include $$(PYTHONINC)
-unix:LIBS += -L../../$(CONFIG_ID)/lib -L$$(PYTHONLIB) -lpython2.5 -lSUIT -lPyInterp
-win32:LIBS += -L../../$(CONFIG_ID)/lib -L$$(PYTHONLIB) -lSUIT -lPyInterp -lQtx
+INCLUDEPATH += $$(PYTHONINC)
+unix:LIBS += -L$$(PYTHONLIB) -lpython2.5 -lSUIT -lPyInterp
+win32:LIBS += -L$$(PYTHONLIB) -lSUIT -lPyInterp -lQtx
win32:CONFIG_MODE= $$(CONFIG_MODE)
contains( CONFIG_MODE, debug ) {
win32:LIBS += -lpython25_d
win32:DEFINES += WNT WIN32 HAVE_DEBUG_PYTHON
DEFINES += PYCONSOLE_EXPORTS
-HEADERS = *.h
-
-SOURCES = *.cxx
-
-TRANSLATIONS = resources/PyConsole_msg_en.ts
-
-unix:GUIResources = ../../resources
-win32:GUIResources = ..\\..\\resources
-
-lrelease.name = LRELASE ${QMAKE_FILE_IN}
-unix:lrelease.commands = $(QTDIR)/bin/lrelease ${QMAKE_FILE_NAME} -qm $${GUIResources}/${QMAKE_FILE_BASE}.qm
-win32:lrelease.commands = $(QTDIR)\\bin\\lrelease ${QMAKE_FILE_IN} ${QMAKE_FILE_NAME} -qm $${GUIResources}\\${QMAKE_FILE_BASE}.qm
-unix:lrelease.output = $${GUIResources}/${QMAKE_FILE_BASE}.qm
-win32:lrelease.output = $${GUIResources}\\${QMAKE_FILE_BASE}.qm
-lrelease.input = TRANSLATIONS
-unix:lrelease.clean = $${GUIResources}/${QMAKE_FILE_BASE}.qm
-win32:lrelease.clean = $${GUIResources}\\${QMAKE_FILE_BASE}.qm
-lrelease.CONFIG += no_link target_predeps
-QMAKE_EXTRA_COMPILERS += lrelease
-
-win32:copy_hdr.name = Install ${QMAKE_FILE_IN}
-win32:copy_hdr.commands = type ${QMAKE_FILE_IN} > ../../include/${QMAKE_FILE_BASE}.h
-win32:copy_hdr.output = ../../include/${QMAKE_FILE_BASE}.h
-win32:copy_hdr.input = HEADERS
-win32:QMAKE_EXTRA_COMPILERS += copy_hdr
-
-includes.files = $$HEADERS
-includes.path = ../../include
-
-INSTALLS += includes
+include(../Translations.pro)
include(../Common.pro)
-win32:QMAKE_MOC=$(QTDIR)\bin\moc.exe
-
-DESTDIR = ../../$(CONFIG_ID)/lib
-MOC_DIR = ../../moc
-OBJECTS_DIR = ../../$(CONFIG_ID)/obj/$$TARGET
-
-INCLUDEPATH += ../../include $$(PYTHONINC)
-unix:LIBS += -L$$(PYTHONLIB) -lpython2.5 -L../../$(CONFIG_ID)/lib -lEvent
-win32:LIBS += -L$$(PYTHONLIB)
+INCLUDEPATH += $$(PYTHONINC)
+unix:LIBS += -lEvent -L$$(PYTHONLIB) -lpython2.5
+win32:LIBS += -lEvent -L$$(PYTHONLIB)
win32:CONFIG_MODE= $$(CONFIG_MODE)
contains( CONFIG_MODE, debug ) {
win32:LIBS += -lpython25_d
win32:DEFINES += WNT WIN32 HAVE_DEBUG_PYTHON
DEFINES += PYINTERP_EXPORTS
-
-HEADERS = *.h
-
-SOURCES = *.cxx
-
-win32:copy_hdr.name = Install ${QMAKE_FILE_IN}
-win32:copy_hdr.commands = type ${QMAKE_FILE_IN} > ../../include/${QMAKE_FILE_BASE}.h
-win32:copy_hdr.output = ../../include/${QMAKE_FILE_BASE}.h
-win32:copy_hdr.input = HEADERS
-win32:QMAKE_EXTRA_COMPILERS += copy_hdr
-
-includes.files = $$HEADERS
-includes.path = ../../include
-
-INSTALLS += includes
CONFIG += embed_manifest_exe
-win32:QMAKE_MOC=$(QTDIR)\bin\moc.exe
-
-DESTDIR = ../../$(CONFIG_ID)/lib
-MOC_DIR = ../../moc
-OBJECTS_DIR = ../../$(CONFIG_ID)/obj/$$TARGET
-
win32:LIBS *= -L$(QTLIB)
win32:INCLUDEPATH *= $(QTINC) $(QTINC)\QtCore $(QTINC)\QtGui $(QTINC)\QtXml
win32:DEFINES += WNT WIN32
DEFINES += QTX_EXPORTS
-
-HEADERS = *.h
-
-SOURCES = *.cxx
-
-win32:copy_hdr.name = Install ${QMAKE_FILE_IN}
-win32:copy_hdr.commands = type ${QMAKE_FILE_IN} > ../../include/${QMAKE_FILE_BASE}.h
-win32:copy_hdr.output = ../../include/${QMAKE_FILE_BASE}.h
-win32:copy_hdr.input = HEADERS
-win32:QMAKE_EXTRA_COMPILERS += copy_hdr
-
-includes.files = $$HEADERS
-includes.path = ../../include
-
-INSTALLS += includes
--- /dev/null
+isEmpty( RES_FILES ):RES_FILES = resources/*.png
+
+win32:SOURCES+=$$RES_FILES
+win32:Resource=$$RES_FILES
+win32:copy_res.name = Install resources ${QMAKE_FILE_IN}
+win32:copy_res.commands = type ${QMAKE_FILE_IN} > ${QMAKE_FILE_OUT}
+# Take into account extra "resources\" prefix in the file name
+win32:copy_res.output = $${GUIResources}\\..\\${QMAKE_FILE_NAME}
+win32:copy_res.input = Resource
+win32:QMAKE_EXTRA_COMPILERS += copy_res
+
+resources.files = $$RES_FILES
+resources.path = ../../resources
+
+INSTALLS += resources
include(../Common.pro)
-win32:QMAKE_MOC=$(QTDIR)\bin\moc.exe
-
-DESTDIR = ../../$(CONFIG_ID)/lib
-MOC_DIR = ../../moc
-OBJECTS_DIR = ../../$(CONFIG_ID)/obj/$$TARGET
-
-INCLUDEPATH = ../../include
-LIBS += -L../../$(CONFIG_ID)/lib -lSUIT -lQtx
+LIBS += -lSUIT -lQtx
win32:LIBS *= -L$(QTLIB)
win32:INCLUDEPATH *= $(QTINC) $(QTINC)\QtCore $(QTINC)\QtGui $(QTINC)\QtXml
win32:DEFINES += WNT WIN32
DEFINES += STD_EXPORTS
-HEADERS = *.h
-
-SOURCES = *.cxx
-
-TRANSLATIONS = resources/STD_images.ts \
- resources/STD_msg_en.ts
-
-unix:GUIResources = ../../resources
-win32:GUIResources = ..\\..\\resources
-
-lrelease.name = LRELASE ${QMAKE_FILE_IN}
-unix:lrelease.commands = $(QTDIR)/bin/lrelease ${QMAKE_FILE_NAME} -qm $${GUIResources}/${QMAKE_FILE_BASE}.qm
-win32:lrelease.commands = $(QTDIR)\\bin\\lrelease ${QMAKE_FILE_IN} -qm $${GUIResources}\\${QMAKE_FILE_BASE}.qm
-unix:lrelease.output = $${GUIResources}/${QMAKE_FILE_BASE}.qm
-win32:lrelease.output = $${GUIResources}\\${QMAKE_FILE_BASE}.qm
-lrelease.input = TRANSLATIONS
-unix:lrelease.clean = $${GUIResources}/${QMAKE_FILE_BASE}.qm
-win32:lrelease.clean = $${GUIResources}\\${QMAKE_FILE_BASE}.qm
-lrelease.CONFIG += no_link target_predeps
-QMAKE_EXTRA_COMPILERS += lrelease
-
-win32:copy_hdr.name = Install ${QMAKE_FILE_IN}
-win32:copy_hdr.commands = type ${QMAKE_FILE_IN} > ../../include/${QMAKE_FILE_BASE}.h
-win32:copy_hdr.output = ../../include/${QMAKE_FILE_BASE}.h
-win32:copy_hdr.input = HEADERS
-win32:QMAKE_EXTRA_COMPILERS += copy_hdr
-
-ICONS = resources/*.png
-
-win32:SOURCES+=$$ICONS
-win32:Resource=$$ICONS
-win32:copy_res.name = Install resources ${QMAKE_FILE_IN}
-win32:copy_res.commands = type ${QMAKE_FILE_IN} > ${QMAKE_FILE_OUT}
-win32:copy_res.output = $${GUIResources}\\${QMAKE_FILE_BASE}.png
-win32:copy_res.input = Resource
-win32:QMAKE_EXTRA_COMPILERS += copy_res
-
-includes.files = $$HEADERS
-includes.path = ../../include
+include(../Translations.pro)
-resources.files = $$ICONS resources/*.xml resources/*.ini
-resources.path = ../../resources
+RES_FILES = resources/*.png resources/*.ini resources/*.xml
+include(../Resources.pro)
-INSTALLS += includes resources
include(../Common.pro)
-win32:QMAKE_MOC=$(QTDIR)\bin\moc.exe
-
-DESTDIR = ../../$(CONFIG_ID)/lib
-MOC_DIR = ../../moc
-OBJECTS_DIR = ../../$(CONFIG_ID)/obj/$$TARGET
-
-INCLUDEPATH = ../../include
-LIBS += -L../../$(CONFIG_ID)/lib -lQtx -lObjBrowser
-win32:LIBS *= -L$(QTLIB)
+LIBS += -lQtx -lObjBrowser
+win32:LIBS *= -L$(QTLIB) -lUserenv
win32:INCLUDEPATH *= $(QTINC) $(QTINC)\QtCore $(QTINC)\QtGui $(QTINC)\QtXml
win32:DEFINES += WNT WIN32
DEFINES += SUIT_EXPORTS DISABLE_TESTRECORDER
-HEADERS = *.h
-
-SOURCES = *.cxx
-
-TRANSLATIONS = resources/SUIT_msg_en.ts
-
-unix:GUIResources = ../../resources
-win32:GUIResources = ..\\..\\resources
-
-lrelease.name = LRELASE ${QMAKE_FILE_IN}
-unix:lrelease.commands = $(QTDIR)/bin/lrelease ${QMAKE_FILE_NAME} -qm $${GUIResources}/${QMAKE_FILE_BASE}.qm
-win32:lrelease.commands = $(QTDIR)\\bin\\lrelease ${QMAKE_FILE_IN} -qm $${GUIResources}\\${QMAKE_FILE_BASE}.qm
-unix:lrelease.output = $${GUIResources}/${QMAKE_FILE_BASE}.qm
-win32:lrelease.output = $${GUIResources}\\${QMAKE_FILE_BASE}.qm
-lrelease.input = TRANSLATIONS
-unix:lrelease.clean = $${GUIResources}/${QMAKE_FILE_BASE}.qm
-win32:lrelease.clean = $${GUIResources}\\${QMAKE_FILE_BASE}.qm
-lrelease.CONFIG += no_link target_predeps
-QMAKE_EXTRA_COMPILERS += lrelease
-
-win32:copy_hdr.name = Install ${QMAKE_FILE_IN}
-win32:copy_hdr.commands = type ${QMAKE_FILE_IN} > ../../include/${QMAKE_FILE_BASE}.h
-win32:copy_hdr.output = ../../include/${QMAKE_FILE_BASE}.h
-win32:copy_hdr.input = HEADERS
-win32:QMAKE_EXTRA_COMPILERS += copy_hdr
-
-ICONS = resources/*.png
-
-win32:SOURCES+=$$ICONS
-win32:Resource=$$ICONS
-win32:copy_res.name = Install resources ${QMAKE_FILE_IN}
-win32:copy_res.commands = type ${QMAKE_FILE_IN} > ${QMAKE_FILE_OUT}
-win32:copy_res.output = $${GUIResources}\\${QMAKE_FILE_BASE}.png
-win32:copy_res.input = Resource
-win32:QMAKE_EXTRA_COMPILERS += copy_res
-
-includes.files = $$HEADERS
-includes.path = ../../include
-
-resources.files = $$ICONS
-resources.path = ../../resources
-
-INSTALLS += includes resources
+include(../Translations.pro)
include(../Common.pro)
CONFIG -= embed_manifest_exe
-win32:QMAKE_MOC=$(QTDIR)\bin\moc.exe
-
-DESTDIR = ../../$(CONFIG_ID)/bin
-MOC_DIR = ../../moc
-OBJECTS_DIR = ../../$(CONFIG_ID)/obj/$$TARGET
-
-INCLUDEPATH = ../../include
-LIBS += -L../../$(CONFIG_ID)/lib -lSUIT -lQtx -lStyle -lObjBrowser
-win32:LIBS *= -L$(QTLIB)
+LIBS += -lSUIT -lQtx -lStyle -lObjBrowser
+win32:LIBS *= -L$(QTLIB) -lUserenv
win32:INCLUDEPATH *= $(QTINC) $(QTINC)\QtCore $(QTINC)\QtGui $(QTINC)\QtXml
win32:DEFINES += WNT WIN32
DEFINES += DISABLE_TESTRECORDER
-HEADERS = *.h
-
-SOURCES = *.cxx
+include(../Translations.pro)
-win32:copy_hdr.name = Install ${QMAKE_FILE_IN}
-win32:copy_hdr.commands = type ${QMAKE_FILE_IN} > ../../include/${QMAKE_FILE_BASE}.h
-win32:copy_hdr.output = ../../include/${QMAKE_FILE_BASE}.h
-win32:copy_hdr.input = HEADERS
-win32:QMAKE_EXTRA_COMPILERS += copy_hdr
include(../Common.pro)
-win32:QMAKE_MOC=$(QTDIR)\bin\moc.exe
-
-DESTDIR = ../../$(CONFIG_ID)/lib
-MOC_DIR = ../../moc
-OBJECTS_DIR = ../../$(CONFIG_ID)/obj/$$TARGET
-
unix:VTK_LIBS = -L$$(VTKLIB) -lvtkCommon -lvtkGraphics -lvtkImaging -lvtkFiltering -lvtkIO -lvtkRendering -lvtkHybrid -lvtkParallel -lvtkWidgets -lGL -L/usr/X11R6/lib -lGLU -L/usr/X11R6/lib -lX11 -lXt
win32:VTK_LIBS = -L$$(VTKLIB) -lvtkCommon -lvtkGraphics -lvtkImaging -lvtkFiltering -lvtkIO -lvtkRendering -lvtkHybrid -lvtkParallel -lvtkWidgets -lopengl32
unix:OCC_LIBS =
win32:OCC_LIBS = -L$(CASLIB) -lTKernel
-INCLUDEPATH += ../../include $${CAS_CPPFLAGS} $$(VTKINC) $$(BOOSTINC) ../Qtx ../SUIT ../OBJECT ../Prs ../VTKViewer
-LIBS += -L../../$(CONFIG_ID)/lib -lQtx -lSUIT -lOBJECT -lPrs -lVTKViewer $${OCC_LIBS} $${VTK_LIBS}
+INCLUDEPATH += $${CAS_CPPFLAGS} $$(VTKINC) $$(BOOSTINC) ../Qtx ../SUIT ../OBJECT ../Prs ../VTKViewer
+LIBS += -lQtx -lSUIT -lOBJECT -lPrs -lVTKViewer $${OCC_LIBS} $${VTK_LIBS}
win32: LIBS += -lTKernel
win32:LIBS *= -L$(QTLIB)
win32:INCLUDEPATH *= $(QTINC) $(QTINC)\QtCore $(QTINC)\QtGui $(QTINC)\QtXml
win32:DEFINES += WNT WIN32
DEFINES += SVTK_EXPORTS $(CASDEFINES) OCC_VERSION_MAJOR=6 OCC_VERSION_MINOR=1 OCC_VERSION_MAINTENANCE=1 LIN LINTEL CSFDB No_exception HAVE_CONFIG_H HAVE_LIMITS_H HAVE_WOK_CONFIG_H OCC_CONVERT_SIGNALS
-HEADERS = SVTK.h
-HEADERS += SVTK_Prs.h
-HEADERS += SVTK_Actor.h
-HEADERS += SALOME_Actor.h
-HEADERS += SVTK_RectPicker.h
-HEADERS += SVTK_DeviceActor.h
-HEADERS += SVTK_Actor2DWidget.h
-HEADERS += SVTK_CaptionActor2DWidget.h
-HEADERS += SVTK_NonIsometricDlg.h
-HEADERS += SVTK_TextRegionDlg.h
-HEADERS += SVTK_UpdateRateDlg.h
-HEADERS += SVTK_CubeAxesDlg.h
-
-HEADERS += SVTK_DialogBase.h
-HEADERS += SVTK_FontWidget.h
-HEADERS += SVTK_CubeAxesActor2D.h
-HEADERS += SVTK_Functor.h
-HEADERS += SVTK_MainWindow.h
-HEADERS += SVTK_View.h
-HEADERS += SVTK_ViewManager.h
-HEADERS += SVTK_ViewModel.h
-HEADERS += SVTK_ViewWindow.h
-HEADERS += SVTK_Renderer.h
-HEADERS += SVTK_InteractorStyle.h
-HEADERS += SVTK_RenderWindowInteractor.h
-HEADERS += SVTK_GenericRenderWindowInteractor.h
-HEADERS += SVTK_Selector.h
-HEADERS += SVTK_Selection.h
-HEADERS += SVTK_SelectionEvent.h
-HEADERS += SVTK_SpaceMouse.h
-HEADERS += SVTK_Event.h
-HEADERS += SVTK_ViewModelBase.h
-HEADERS += SVTK_SetRotationPointDlg.h
-HEADERS += SVTK_Extension.h
-
-SOURCES = SVTK_Prs.cxx
-SOURCES += SVTK_Actor.cxx
-SOURCES += SALOME_Actor.cxx
-SOURCES += SVTK_RectPicker.cxx
-SOURCES += SVTK_DeviceActor.cxx
-SOURCES += SVTK_Actor2DWidget.cxx
-SOURCES += SVTK_CaptionActor2DWidget.cxx
-SOURCES += SVTK_CubeAxesActor2D.cxx
-SOURCES += SVTK_NonIsometricDlg.cxx
-SOURCES += SVTK_UpdateRateDlg.cxx
-SOURCES += SVTK_TextRegionDlg.cxx
-SOURCES += SVTK_CubeAxesDlg.cxx
-SOURCES += SVTK_DialogBase.cxx
-SOURCES += SVTK_FontWidget.cxx
-SOURCES += SVTK_Trihedron.cxx
-SOURCES += SVTK_MainWindow.cxx
-SOURCES += SVTK_View.cxx
-SOURCES += SVTK_ViewManager.cxx
-SOURCES += SVTK_ViewModel.cxx
-SOURCES += SVTK_Renderer.cxx
-SOURCES += SVTK_ViewWindow.cxx
-SOURCES += SVTK_InteractorStyle.cxx
-SOURCES += SVTK_RenderWindowInteractor.cxx
-SOURCES += SVTK_GenericRenderWindowInteractor.cxx
-SOURCES += SVTK_SpaceMouse.cxx
-SOURCES += SVTK_Selector.cxx
-SOURCES += SVTK_SetRotationPointDlg.cxx
-SOURCES += SVTK_Extension.cxx
-
-TRANSLATIONS = resources/SVTK_images.ts \
- resources/SVTK_msg_en.ts
-
-unix:GUIResources = ../../resources
-win32:GUIResources = ..\\..\\resources
-
-lrelease.name = LRELASE ${QMAKE_FILE_IN}
-unix:lrelease.commands = $(QTDIR)/bin/lrelease ${QMAKE_FILE_NAME} -qm $${GUIResources}/${QMAKE_FILE_BASE}.qm
-win32:lrelease.commands = $(QTDIR)\\bin\\lrelease ${QMAKE_FILE_IN} -qm $${GUIResources}\\${QMAKE_FILE_BASE}.qm
-unix:lrelease.output = $${GUIResources}/${QMAKE_FILE_BASE}.qm
-win32:lrelease.output = $${GUIResources}\\${QMAKE_FILE_BASE}.qm
-lrelease.input = TRANSLATIONS
-unix:lrelease.clean = $${GUIResources}/${QMAKE_FILE_BASE}.qm
-win32:lrelease.clean = $${GUIResources}\\${QMAKE_FILE_BASE}.qm
-lrelease.CONFIG += no_link target_predeps
-QMAKE_EXTRA_COMPILERS += lrelease
-
-win32:copy_hdr.name = Install ${QMAKE_FILE_IN}
-win32:copy_hdr.commands = type ${QMAKE_FILE_IN} > ../../include/${QMAKE_FILE_BASE}.h
-win32:copy_hdr.output = ../../include/${QMAKE_FILE_BASE}.h
-win32:copy_hdr.input = HEADERS
-win32:QMAKE_EXTRA_COMPILERS += copy_hdr
-
-ICONS = resources/*.png
-
-win32:SOURCES+=$$ICONS
-win32:Resource=$$ICONS
-win32:copy_res.name = Install resources ${QMAKE_FILE_IN}
-win32:copy_res.commands = type ${QMAKE_FILE_IN} > ${QMAKE_FILE_OUT}
-win32:copy_res.output = $${GUIResources}\\${QMAKE_FILE_BASE}.png
-win32:copy_res.input = Resource
-win32:QMAKE_EXTRA_COMPILERS += copy_res
-
-includes.files = $$HEADERS
-includes.path = ../../include
-
-resources.files = $$ICONS
-resources.path = ../../resources
-
-INSTALLS += includes resources
+include(../Translations.pro)
+include(../Resources.pro)
include(../Common.pro)
-win32:QMAKE_MOC=$(QTDIR)\bin\moc.exe
-
-DESTDIR = ../../$(CONFIG_ID)/lib
-MOC_DIR = ../../moc
-OBJECTS_DIR = ../../$(CONFIG_ID)/obj/$$TARGET
-
-INCLUDEPATH = ../../include
-LIBS += -L../../$(CONFIG_ID)/lib -lQtx
+LIBS += -lQtx
win32:LIBS *= -L$(QTLIB)
win32:INCLUDEPATH *= $(QTINC) $(QTINC)\QtCore $(QTINC)\QtGui $(QTINC)\QtXml
win32:DEFINES += WNT WIN32
DEFINES += STYLE_SALOME_EXPORTS
-
-HEADERS = *.h
-
-SOURCES = *.cxx
-
-win32:copy_hdr.name = Install ${QMAKE_FILE_IN}
-win32:copy_hdr.commands = type ${QMAKE_FILE_IN} > ../../include/${QMAKE_FILE_BASE}.h
-win32:copy_hdr.output = ../../include/${QMAKE_FILE_BASE}.h
-win32:copy_hdr.input = HEADERS
-win32:QMAKE_EXTRA_COMPILERS += copy_hdr
-
-includes.files = $$HEADERS
-includes.path = ../../include
-
-INSTALLS += includes
include(../Common.pro)
-win32:QMAKE_MOC=$(QTDIR)\bin\moc.exe
-
-DESTDIR = ../../$(CONFIG_ID)/lib
-MOC_DIR = ../../moc
-OBJECTS_DIR = ../../$(CONFIG_ID)/obj/$$TARGET
-
CAS_CPPFLAGS = $(CASINC)
CAS_KERNEL = -L$(CASLIB) -lTKernel
-INCLUDEPATH = ../../include $${CAS_CPPFLAGS}
-LIBS += -L../../$(CONFIG_ID)/lib -lQtx -lSUIT $${CAS_KERNEL} -lHTMLService
+INCLUDEPATH += $${CAS_CPPFLAGS}
+LIBS += -lQtx -lSUIT $${CAS_KERNEL} -lHTMLService
win32:LIBS *= -L$(QTLIB)
win32:INCLUDEPATH *= $(QTINC) $(QTINC)\QtCore $(QTINC)\QtGui $(QTINC)\QtXml
win32:DEFINES += WNT WIN32
DEFINES += TABLEVIEWER_EXPORTS $(CASDEFINES) OCC_VERSION_MAJOR=6 OCC_VERSION_MINOR=1 OCC_VERSION_MAINTENANCE=1 LIN LINTEL CSFDB No_exception HAVE_CONFIG_H HAVE_LIMITS_H HAVE_WOK_CONFIG_H OCC_CONVERT_SIGNALS
-HEADERS = *.h
-
-SOURCES = *.cxx
-
-TRANSLATIONS = resources/TableViewer_images.ts \
- resources/TableViewer_msg_en.ts
-
-unix:GUIResources = ../../resources
-win32:GUIResources = ..\\..\\resources
-
-lrelease.name = LRELASE ${QMAKE_FILE_IN}
-unix:lrelease.commands = $(QTDIR)/bin/lrelease ${QMAKE_FILE_NAME} -qm $${GUIResources}/${QMAKE_FILE_BASE}.qm
-win32:lrelease.commands = $(QTDIR)\\bin\\lrelease ${QMAKE_FILE_IN} -qm $${GUIResources}\\${QMAKE_FILE_BASE}.qm
-unix:lrelease.output = $${GUIResources}/${QMAKE_FILE_BASE}.qm
-win32:lrelease.output = $${GUIResources}\\${QMAKE_FILE_BASE}.qm
-lrelease.input = TRANSLATIONS
-unix:lrelease.clean = $${GUIResources}/${QMAKE_FILE_BASE}.qm
-win32:lrelease.clean = $${GUIResources}\\${QMAKE_FILE_BASE}.qm
-lrelease.CONFIG += no_link target_predeps
-QMAKE_EXTRA_COMPILERS += lrelease
-
-win32:copy_hdr.name = Install ${QMAKE_FILE_IN}
-win32:copy_hdr.commands = type ${QMAKE_FILE_IN} > ../../include/${QMAKE_FILE_BASE}.h
-win32:copy_hdr.output = ../../include/${QMAKE_FILE_BASE}.h
-win32:copy_hdr.input = HEADERS
-win32:QMAKE_EXTRA_COMPILERS += copy_hdr
-
-ICONS = resources/*.png
-
-win32:Resource=$$ICONS
-win32:SOURCES+=$$ICONS
-win32:copy_res.name = Install resources ${QMAKE_FILE_IN}
-win32:copy_res.commands = type ${QMAKE_FILE_IN} > ${QMAKE_FILE_OUT}
-win32:copy_res.output = $${GUIResources}\\${QMAKE_FILE_BASE}.png
-win32:copy_res.input = Resource
-win32:QMAKE_EXTRA_COMPILERS += copy_res
-
-includes.files = $$HEADERS
-includes.path = ../../include
-
-resources.files = $$ICONS
-resources.path = ../../resources
-
-INSTALLS += includes resources
+include(../Translations.pro)
+include(../Resources.pro)
--- /dev/null
+isEmpty( TRANSLATIONS ):TRANSLATIONS = resources/*.ts
+
+lrelease.name = LRELASE ${QMAKE_FILE_IN}
+unix:lrelease.commands = $(QTDIR)/bin/lrelease ${QMAKE_FILE_NAME} -qm $${GUIResources}/${QMAKE_FILE_BASE}.qm
+win32:lrelease.commands = $(QTDIR)\\bin\\lrelease ${QMAKE_FILE_IN} -qm $${GUIResources}\\${QMAKE_FILE_BASE}.qm
+unix:lrelease.output = $${GUIResources}/${QMAKE_FILE_BASE}.qm
+win32:lrelease.output = $${GUIResources}\\${QMAKE_FILE_BASE}.qm
+lrelease.input = TRANSLATIONS
+unix:lrelease.clean = $${GUIResources}/${QMAKE_FILE_BASE}.qm
+win32:lrelease.clean = $${GUIResources}\\${QMAKE_FILE_BASE}.qm
+lrelease.CONFIG += no_link target_predeps
+QMAKE_EXTRA_COMPILERS += lrelease
+
include(../Common.pro)
-win32:QMAKE_MOC=$(QTDIR)\bin\moc.exe
-
-DESTDIR = ../../$(CONFIG_ID)/lib
-MOC_DIR = ../../moc
-OBJECTS_DIR = ../../$(CONFIG_ID)/obj/$$TARGET
-
unix:VTK_LIBS = -L$$(VTKLIB) -lvtkCommon -lvtkGraphics -lvtkImaging -lvtkFiltering -lvtkIO -lvtkRendering -lvtkHybrid -lvtkParallel -lvtkWidgets -lGL -L/usr/X11R6/lib -lGLU -L/usr/X11R6/lib -lX11 -lXt
win32:VTK_LIBS = -L$$(VTKLIB) -lvtkCommon -lvtkGraphics -lvtkImaging -lvtkFiltering -lvtkIO -lvtkRendering -lvtkHybrid -lvtkParallel -lvtkWidgets
CAS_KERNEL = -L$(CASLIB) -lTKernel
-INCLUDEPATH += ../../include $$(VTKINC) $${CAS_CPPFLAGS} ../Qtx ../SUIT
-LIBS += -L../../$(CONFIG_ID)/lib -lQtx -lSUIT $${VTK_LIBS} $${CAS_KERNEL}
+INCLUDEPATH += $$(VTKINC) $${CAS_CPPFLAGS} ../Qtx ../SUIT
+LIBS += -lQtx -lSUIT $${VTK_LIBS} $${CAS_KERNEL}
win32:LIBS *= -L$(QTLIB)
win32:INCLUDEPATH *= $(QTINC) $(QTINC)\QtCore $(QTINC)\QtGui $(QTINC)\QtXml
win32:DEFINES += WNT WIN32
DEFINES += VTKVIEWER_EXPORTS $(CASDEFINES) OCC_VERSION_MAJOR=6 OCC_VERSION_MINOR=1 OCC_VERSION_MAINTENANCE=1 LIN LINTEL CSFDB No_exception HAVE_CONFIG_H HAVE_LIMITS_H HAVE_WOK_CONFIG_H OCC_CONVERT_SIGNALS
-HEADERS = VTKViewer.h
-HEADERS += VTKViewer_CellLocationsArray.h
-HEADERS += VTKViewer_Actor.h
-HEADERS += VTKViewer_ExtractUnstructuredGrid.h
-HEADERS += VTKViewer_ConvexTool.h
-HEADERS += VTKViewer_Filter.h
-HEADERS += VTKViewer_GeometryFilter.h
-HEADERS += VTKViewer_AppendFilter.h
-HEADERS += VTKViewer_Algorithm.h
-HEADERS += VTKViewer_InteractorStyle.h
-HEADERS += VTKViewer_RenderWindow.h
-HEADERS += VTKViewer_RenderWindowInteractor.h
-HEADERS += VTKViewer_ShrinkFilter.h
-HEADERS += VTKViewer_TransformFilter.h
-HEADERS += VTKViewer_Transform.h
-HEADERS += VTKViewer_Trihedron.h
-HEADERS += VTKViewer_Utilities.h
-HEADERS += VTKViewer_ViewManager.h
-HEADERS += VTKViewer_ViewModel.h
-HEADERS += VTKViewer_ViewWindow.h
-HEADERS += VTKViewer_Functor.h
-
-SOURCES = VTKViewer_CellLocationsArray.cxx
-SOURCES += VTKViewer_Actor.cxx
-SOURCES += VTKViewer_ExtractUnstructuredGrid.cxx
-SOURCES += VTKViewer_Filter.cxx
-SOURCES += VTKViewer_GeometryFilter.cxx
-SOURCES += VTKViewer_AppendFilter.cxx
-SOURCES += VTKViewer_InteractorStyle.cxx
-SOURCES += VTKViewer_RenderWindow.cxx
-SOURCES += VTKViewer_RenderWindowInteractor.cxx
-SOURCES += VTKViewer_ShrinkFilter.cxx
-SOURCES += VTKViewer_Transform.cxx
-SOURCES += VTKViewer_TransformFilter.cxx
-SOURCES += VTKViewer_Trihedron.cxx
-SOURCES += VTKViewer_Utilities.cxx
-SOURCES += VTKViewer_ViewManager.cxx
-SOURCES += VTKViewer_ViewModel.cxx
-SOURCES += VTKViewer_ConvexTool.cxx
-SOURCES += VTKViewer_ViewWindow.cxx
-
unix:message ( "Sources: $$SOURCES " )
-TRANSLATIONS = resources/VTKViewer_images.ts \
- resources/VTKViewer_msg_en.ts
-
-unix:GUIResources = ../../resources
-win32:GUIResources = ..\\..\\resources
-
-lrelease.name = LRELASE ${QMAKE_FILE_IN}
-unix:lrelease.commands = $(QTDIR)/bin/lrelease ${QMAKE_FILE_NAME} -qm $${GUIResources}/${QMAKE_FILE_BASE}.qm
-win32:lrelease.commands = $(QTDIR)\\bin\\lrelease ${QMAKE_FILE_IN} -qm $${GUIResources}\\${QMAKE_FILE_BASE}.qm
-unix:lrelease.output = $${GUIResources}/${QMAKE_FILE_BASE}.qm
-win32:lrelease.output = $${GUIResources}\\${QMAKE_FILE_BASE}.qm
-lrelease.input = TRANSLATIONS
-unix:lrelease.clean = $${GUIResources}/${QMAKE_FILE_BASE}.qm
-win32:lrelease.clean = $${GUIResources}\\${QMAKE_FILE_BASE}.qm
-lrelease.CONFIG += no_link target_predeps
-QMAKE_EXTRA_COMPILERS += lrelease
-
-win32:copy_hdr.name = Install ${QMAKE_FILE_IN}
-win32:copy_hdr.commands = type ${QMAKE_FILE_IN} > ../../include/${QMAKE_FILE_BASE}.h
-win32:copy_hdr.output = ../../include/${QMAKE_FILE_BASE}.h
-win32:copy_hdr.input = HEADERS
-win32:QMAKE_EXTRA_COMPILERS += copy_hdr
-
-ICONS = resources/*.png
-
-win32:SOURCES+=$$ICONS
-win32:Resource=$$ICONS
-win32:copy_res.name = Install resources ${QMAKE_FILE_IN}
-win32:copy_res.commands = type ${QMAKE_FILE_IN} > ${QMAKE_FILE_OUT}
-win32:copy_res.output = $${GUIResources}\\${QMAKE_FILE_BASE}.png
-win32:copy_res.input = Resource
-win32:QMAKE_EXTRA_COMPILERS += copy_res
-
-includes.files = $$HEADERS
-includes.path = ../../include
-
-resources.files = $$ICONS
-resources.path = ../../resources
-
-INSTALLS += includes resources
+include(../Translations.pro)
+include(../Resources.pro)