Fixed problem building multiple apps in one dir for Subdivider
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@5 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
@@ -8,19 +8,8 @@ contains( OPENFLIPPER , OpenFlipper ){
|
|||||||
include( $$TOPDIR/OpenMesh/qmake/all.include )
|
include( $$TOPDIR/OpenMesh/qmake/all.include )
|
||||||
}
|
}
|
||||||
|
|
||||||
INCLUDEPATH += ../../..
|
Subdirs()
|
||||||
|
SUBDIRS = commandline commandlineAdaptive gui
|
||||||
|
|
||||||
Application()
|
|
||||||
glew()
|
|
||||||
glut()
|
|
||||||
openmesh()
|
|
||||||
|
|
||||||
DIRECTORIES = . ../QtViewer
|
|
||||||
|
|
||||||
# Input
|
|
||||||
HEADERS += $$getFilesFromDir($$DIRECTORIES,*.hh)
|
|
||||||
SOURCES += $$getFilesFromDir($$DIRECTORIES,*.cc)
|
|
||||||
SOURCES -= ../QtViewer/meshviewer.cc
|
|
||||||
FORMS += $$getFilesFromDir($$DIRECTORIES,*.ui)
|
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|||||||
26
Apps/Subdivider/commandline/commandline.pro
Normal file
26
Apps/Subdivider/commandline/commandline.pro
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
################################################################################
|
||||||
|
#
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
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 -= ../../QtViewer/meshviewer.cc ../qtsubdivider.cc ../adaptive_subdivider.cc
|
||||||
|
FORMS += $$getFilesFromDir($$DIRECTORIES,*.ui)
|
||||||
|
|
||||||
|
################################################################################
|
||||||
26
Apps/Subdivider/commandlineAdaptive/commandlineAdaptive.pro
Normal file
26
Apps/Subdivider/commandlineAdaptive/commandlineAdaptive.pro
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
################################################################################
|
||||||
|
#
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
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 -= ../../QtViewer/meshviewer.cc ../qtsubdivider.cc ../subdivider.cc
|
||||||
|
FORMS += $$getFilesFromDir($$DIRECTORIES,*.ui)
|
||||||
|
|
||||||
|
################################################################################
|
||||||
26
Apps/Subdivider/gui/gui.pro
Normal file
26
Apps/Subdivider/gui/gui.pro
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
################################################################################
|
||||||
|
#
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
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 -= ../../QtViewer/meshviewer.cc ../subdivider.cc ../adaptive_subdivider.cc
|
||||||
|
FORMS += $$getFilesFromDir($$DIRECTORIES,*.ui)
|
||||||
|
|
||||||
|
################################################################################
|
||||||
Reference in New Issue
Block a user