Fixed typo

This commit is contained in:
Jan Möbius
2020-04-22 14:44:27 +02:00
parent f5246f7172
commit cf867c642c
6 changed files with 15 additions and 24 deletions

View File

@@ -5,12 +5,7 @@ include_directories (
${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}
) )
# collect all header and source files acg_add_executable (commandlineDecimater ../decimater.cc)
set (sources
../decimater.cc
)
acg_add_executable (commandlineDecimater ${sources})
target_link_libraries (commandlineDecimater target_link_libraries (commandlineDecimater
OpenMeshCore OpenMeshCore

View File

@@ -10,9 +10,16 @@ set (directories
. .
) )
# collect all header and source files set (sources
acg_append_files (headers "*.hh" ${directories}) MeshViewerWidget.cc
acg_append_files (sources "*.cc" ${directories}) QGLViewerWidget.cc
meshviewer.cc
)
set (headers
MeshViewerWidget.hh
QGLViewerWidget.hh
)
if (WIN32) if (WIN32)
acg_add_executable (QtViewer WIN32 ${sources} ${headers}) acg_add_executable (QtViewer WIN32 ${sources} ${headers})

View File

@@ -191,7 +191,7 @@ protected:
//============================================================================= //=============================================================================
#if defined(OM_INCLUDE_TEMPLATES) && !defined(OPENMESHAPPS_MESHVIEWERWIDGET_CC) #if defined(OM_INCLUDE_TEMPLATES)
# define OPENMESH_MESHVIEWERWIDGET_TEMPLATES # define OPENMESH_MESHVIEWERWIDGET_TEMPLATES
# include "MeshViewerWidgetT_impl.hh" # include "MeshViewerWidgetT_impl.hh"
#endif #endif

View File

@@ -39,9 +39,7 @@
* * * *
* ========================================================================= */ * ========================================================================= */
#pragma once
#define OPENMESHAPPS_MESHVIEWERWIDGET_CC
//== INCLUDES ================================================================= //== INCLUDES =================================================================
@@ -69,7 +67,6 @@ using namespace Qt;
# undef max # undef max
#endif #endif
using namespace Qt;
//== IMPLEMENTATION ========================================================== //== IMPLEMENTATION ==========================================================

View File

@@ -5,11 +5,7 @@ include_directories (
${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}
) )
# collect all header and source files acg_add_executable (Smoothing smooth.cc)
acg_append_files (headers "*.hh" .)
acg_append_files (sources "*.cc" .)
acg_add_executable (Smoothing ${headers} ${sources})
target_link_libraries (Smoothing target_link_libraries (Smoothing
OpenMeshCore OpenMeshCore

View File

@@ -5,11 +5,7 @@ include_directories (
${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}
) )
# collect all header and source files acg_add_executable (mconvert mconvert.cc)
acg_append_files (headers "*.hh" .)
acg_append_files (sources "*.cc" .)
acg_add_executable (mconvert ${headers} ${sources})
target_link_libraries (mconvert target_link_libraries (mconvert
OpenMeshCore OpenMeshCore