2010-03-01 17:16:35 +00:00
|
|
|
include (ACGCommon)
|
|
|
|
|
|
|
|
|
|
include_directories (
|
|
|
|
|
../../..
|
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# collect all header and source files
|
|
|
|
|
acg_append_files (headers "*.hh" .)
|
|
|
|
|
acg_append_files (sources "*.cc" .)
|
|
|
|
|
|
|
|
|
|
list (APPEND sources "../QtViewer/QGLViewerWidget.cc")
|
|
|
|
|
|
|
|
|
|
list (APPEND headers "../QtViewer/QGLViewerWidget.hh")
|
|
|
|
|
list (APPEND headers "../QtViewer/MeshViewerWidgetT.hh")
|
2019-02-20 12:14:46 +01:00
|
|
|
list (APPEND headers "../QtViewer/MeshViewerWidgetT_impl.hh")
|
2010-03-01 17:16:35 +00:00
|
|
|
|
|
|
|
|
if (WIN32)
|
2018-12-14 11:59:42 +01:00
|
|
|
acg_add_executable( ProgViewer WIN32 ${sources} ${headers})
|
2010-03-01 17:16:35 +00:00
|
|
|
else ()
|
2018-12-14 11:59:42 +01:00
|
|
|
acg_add_executable( ProgViewer ${sources} ${headers})
|
2010-03-01 17:16:35 +00:00
|
|
|
endif ()
|
|
|
|
|
|
2018-12-14 11:59:42 +01:00
|
|
|
target_link_libraries ( ProgViewer
|
2010-03-01 17:16:35 +00:00
|
|
|
OpenMeshCore
|
|
|
|
|
OpenMeshTools
|
2018-12-14 14:57:30 +01:00
|
|
|
Qt5::OpenGL
|
2010-03-01 17:16:35 +00:00
|
|
|
${OPENGL_LIBRARIES}
|
|
|
|
|
)
|
|
|
|
|
|