Merge branch 'More_QT_Cleanup' into 'master'
Reduce Qt footprint even more See merge request OpenMesh/OpenMesh!203
This commit is contained in:
@@ -4,7 +4,6 @@ include_directories (
|
||||
../../../..
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${GLUT_INCLUDE_DIR}
|
||||
${QT_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
# source code directories
|
||||
@@ -28,8 +27,6 @@ acg_drop_templates (sources)
|
||||
|
||||
if (WIN32)
|
||||
acg_add_executable (DecimaterGui WIN32 ${sources} ${headers})
|
||||
# link to qtmain library to get WinMain function for a non terminal app
|
||||
target_link_libraries (DecimaterGui ${QT_QTMAIN_LIBRARY})
|
||||
else ()
|
||||
acg_add_executable (DecimaterGui ${sources} ${headers} )
|
||||
endif ()
|
||||
@@ -37,7 +34,7 @@ endif ()
|
||||
target_link_libraries (DecimaterGui
|
||||
OpenMeshCore
|
||||
OpenMeshTools
|
||||
${QT_LIBRARIES}
|
||||
Qt5::OpenGL
|
||||
${OPENGL_LIBRARIES}
|
||||
${GLUT_LIBRARIES}
|
||||
)
|
||||
|
||||
@@ -4,7 +4,6 @@ include_directories (
|
||||
../../..
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${GLUT_INCLUDE_DIR}
|
||||
${QT_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
|
||||
@@ -23,8 +22,6 @@ acg_drop_templates (sources)
|
||||
|
||||
if (WIN32)
|
||||
acg_add_executable( ProgViewer WIN32 ${sources} ${headers})
|
||||
# link to qtmain library to get WinMain function for a non terminal app
|
||||
target_link_libraries( ProgViewer ${QT_QTMAIN_LIBRARY})
|
||||
else ()
|
||||
acg_add_executable( ProgViewer ${sources} ${headers})
|
||||
endif ()
|
||||
@@ -32,7 +29,7 @@ endif ()
|
||||
target_link_libraries ( ProgViewer
|
||||
OpenMeshCore
|
||||
OpenMeshTools
|
||||
${QT_LIBRARIES}
|
||||
Qt5::OpenGL
|
||||
${OPENGL_LIBRARIES}
|
||||
${GLUT_LIBRARIES}
|
||||
)
|
||||
|
||||
@@ -4,7 +4,6 @@ include_directories (
|
||||
../../..
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${GLUT_INCLUDE_DIR}
|
||||
${QT_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
# source code directories
|
||||
@@ -21,8 +20,6 @@ acg_drop_templates (sources)
|
||||
|
||||
if (WIN32)
|
||||
acg_add_executable (QtViewer WIN32 ${sources} ${headers})
|
||||
# link to qtmain library to get WinMain function for a non terminal app
|
||||
target_link_libraries (QtViewer ${QT_QTMAIN_LIBRARY})
|
||||
else ()
|
||||
acg_add_executable (QtViewer ${sources} ${headers})
|
||||
endif ()
|
||||
@@ -30,7 +27,7 @@ endif ()
|
||||
target_link_libraries (QtViewer
|
||||
OpenMeshCore
|
||||
OpenMeshTools
|
||||
${QT_LIBRARIES}
|
||||
Qt5::OpenGL
|
||||
${OPENGL_LIBRARIES}
|
||||
${GLUT_LIBRARIES}
|
||||
)
|
||||
|
||||
@@ -4,7 +4,6 @@ include_directories (
|
||||
../../../..
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${GLUT_INCLUDE_DIR}
|
||||
${QT_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
# source code directories
|
||||
@@ -28,8 +27,6 @@ acg_drop_templates (sources)
|
||||
|
||||
if (WIN32)
|
||||
acg_add_executable (SubdividerGui WIN32 ${sources} ${headers})
|
||||
# link to qtmain library to get WinMain function for a non terminal app
|
||||
target_link_libraries (SubdividerGui ${QT_QTMAIN_LIBRARY})
|
||||
else ()
|
||||
acg_add_executable (SubdividerGui ${sources} ${headers})
|
||||
endif ()
|
||||
@@ -37,7 +34,7 @@ endif ()
|
||||
target_link_libraries (SubdividerGui
|
||||
OpenMeshCore
|
||||
OpenMeshTools
|
||||
${QT_LIBRARIES}
|
||||
Qt5::OpenGL
|
||||
${OPENGL_LIBRARIES}
|
||||
${GLUT_LIBRARIES}
|
||||
)
|
||||
|
||||
@@ -4,7 +4,6 @@ include_directories (
|
||||
../../../..
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${GLUT_INCLUDE_DIR}
|
||||
${QT_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
# collect all header and source files
|
||||
@@ -22,8 +21,6 @@ acg_drop_templates (sources)
|
||||
|
||||
if (WIN32)
|
||||
acg_add_executable (Synthesizer WIN32 ${sources} ${headers})
|
||||
# link to qtmain library to get WinMain function for a non terminal app
|
||||
target_link_libraries (Synthesizer ${QT_QTMAIN_LIBRARY})
|
||||
else ()
|
||||
acg_add_executable (Synthesizer ${sources} ${headers})
|
||||
endif ()
|
||||
@@ -31,7 +28,7 @@ endif ()
|
||||
target_link_libraries (Synthesizer
|
||||
OpenMeshCore
|
||||
OpenMeshTools
|
||||
${QT_LIBRARIES}
|
||||
Qt5::OpenGL
|
||||
${OPENGL_LIBRARIES}
|
||||
${GLUT_LIBRARIES}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user