Disable apps completly if not standalone
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@510 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
@@ -6,10 +6,9 @@ endif()
|
||||
|
||||
if ( BUILD_APPS )
|
||||
|
||||
# Only call fixbundle, when we are building OpenMesh standalone
|
||||
# Only build and fixbundle apps, when we are building OpenMesh standalone
|
||||
if(${PROJECT_NAME} MATCHES "OpenMesh")
|
||||
|
||||
|
||||
add_subdirectory (Dualizer)
|
||||
add_subdirectory (Decimating/commandlineDecimater)
|
||||
add_subdirectory (Smoothing)
|
||||
@@ -19,9 +18,6 @@ if(${PROJECT_NAME} MATCHES "OpenMesh")
|
||||
add_subdirectory (VDProgMesh/mkbalancedpm)
|
||||
add_subdirectory (VDProgMesh/Analyzer)
|
||||
|
||||
|
||||
|
||||
|
||||
# Add non ui apps as dependency before fixbundle
|
||||
if ( WIN32 )
|
||||
if ( NOT "${CMAKE_GENERATOR}" MATCHES "MinGW Makefiles" )
|
||||
@@ -62,8 +58,6 @@ if (QT4_FOUND AND OPENGL_FOUND AND GLUT_FOUND AND NOT "${CMAKE_GENERATOR}" MATCH
|
||||
add_subdirectory (ProgViewer)
|
||||
add_subdirectory (VDProgMesh/Synthesizer)
|
||||
|
||||
# Make sure that we install all dlls into install directory on windows
|
||||
if ( ${PROJECT_NAME} MATCHES "OpenMesh")
|
||||
|
||||
# Add ui apps as dependency before fixbundle
|
||||
if ( WIN32 AND NOT "${CMAKE_GENERATOR}" MATCHES "MinGW Makefiles")
|
||||
@@ -81,7 +75,6 @@ if (QT4_FOUND AND OPENGL_FOUND AND GLUT_FOUND AND NOT "${CMAKE_GENERATOR}" MATCH
|
||||
FILE(GLOB files_install_app_dlls "${CMAKE_BINARY_DIR}/Build/*.dll" )
|
||||
INSTALL(FILES ${files_install_app_dlls} DESTINATION . )
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
else ()
|
||||
|
||||
Reference in New Issue
Block a user