Fixed problem building multiple apps in one dir for Decimating
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@4 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
@@ -8,18 +8,8 @@ contains( OPENFLIPPER , OpenFlipper ){
|
|||||||
include( $$TOPDIR/OpenMesh/qmake/all.include )
|
include( $$TOPDIR/OpenMesh/qmake/all.include )
|
||||||
}
|
}
|
||||||
|
|
||||||
INCLUDEPATH += ../../..
|
Subdirs()
|
||||||
|
SUBDIRS = commandline gui
|
||||||
|
|
||||||
Application()
|
|
||||||
glew()
|
|
||||||
glut()
|
|
||||||
openmesh()
|
|
||||||
|
|
||||||
DIRECTORIES = . ../QtViewer
|
|
||||||
|
|
||||||
# Input
|
|
||||||
HEADERS += $$getFilesFromDir($$DIRECTORIES,*.hh)
|
|
||||||
SOURCES += $$getFilesFromDir($$DIRECTORIES,*.cc)
|
|
||||||
FORMS += $$getFilesFromDir($$DIRECTORIES,*.ui)
|
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|||||||
28
Apps/Decimating/commandline/commandline.pro
Normal file
28
Apps/Decimating/commandline/commandline.pro
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
################################################################################
|
||||||
|
#
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
message(1)
|
||||||
|
|
||||||
|
contains( OPENFLIPPER , OpenFlipper ){
|
||||||
|
include( $$TOPDIR/qmake/all.include )
|
||||||
|
} else {
|
||||||
|
include( $$TOPDIR/OpenMesh/qmake/all.include )
|
||||||
|
}
|
||||||
|
|
||||||
|
INCLUDEPATH += ../../..
|
||||||
|
|
||||||
|
Application()
|
||||||
|
glew()
|
||||||
|
glut()
|
||||||
|
openmesh()
|
||||||
|
|
||||||
|
DIRECTORIES = .. ../../QtViewer
|
||||||
|
|
||||||
|
# Input
|
||||||
|
HEADERS += $$getFilesFromDir($$DIRECTORIES,*.hh)
|
||||||
|
SOURCES += $$getFilesFromDir($$DIRECTORIES,*.cc)
|
||||||
|
SOURCES -= ../decimaterviewer.cc ../../QtViewer/meshviewer.cc
|
||||||
|
FORMS += $$getFilesFromDir($$DIRECTORIES,*.ui)
|
||||||
|
|
||||||
|
################################################################################
|
||||||
28
Apps/Decimating/gui/gui.pro
Normal file
28
Apps/Decimating/gui/gui.pro
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
################################################################################
|
||||||
|
#
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
message(2)
|
||||||
|
|
||||||
|
contains( OPENFLIPPER , OpenFlipper ){
|
||||||
|
include( $$TOPDIR/qmake/all.include )
|
||||||
|
} else {
|
||||||
|
include( $$TOPDIR/OpenMesh/qmake/all.include )
|
||||||
|
}
|
||||||
|
|
||||||
|
INCLUDEPATH += ../../..
|
||||||
|
|
||||||
|
Application()
|
||||||
|
glew()
|
||||||
|
glut()
|
||||||
|
openmesh()
|
||||||
|
|
||||||
|
DIRECTORIES = .. ../../QtViewer
|
||||||
|
|
||||||
|
# Input
|
||||||
|
HEADERS += $$getFilesFromDir($$DIRECTORIES,*.hh)
|
||||||
|
SOURCES += $$getFilesFromDir($$DIRECTORIES,*.cc)
|
||||||
|
SOURCES -= ../decimater.cc ../../QtViewer/meshviewer.cc
|
||||||
|
FORMS += $$getFilesFromDir($$DIRECTORIES,*.ui)
|
||||||
|
|
||||||
|
################################################################################
|
||||||
Reference in New Issue
Block a user