2009-06-04 10:00:51 +00:00
|
|
|
include (ACGCommon)
|
|
|
|
|
|
|
|
|
|
include_directories (
|
|
|
|
|
../../..
|
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
# source code directories
|
|
|
|
|
set (directories
|
|
|
|
|
.
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
# collect all header and source files
|
|
|
|
|
acg_append_files (headers "*.hh" ${directories})
|
|
|
|
|
acg_append_files (sources "*.cc" ${directories})
|
|
|
|
|
|
|
|
|
|
if (WIN32)
|
2018-12-14 11:14:13 +01:00
|
|
|
acg_add_executable (QtViewer WIN32 ${sources} ${headers})
|
2009-06-04 10:00:51 +00:00
|
|
|
else ()
|
2018-12-14 11:14:13 +01:00
|
|
|
acg_add_executable (QtViewer ${sources} ${headers})
|
2009-06-04 10:00:51 +00:00
|
|
|
endif ()
|
|
|
|
|
|
2018-12-14 11:14:13 +01:00
|
|
|
target_link_libraries (QtViewer
|
2009-06-04 10:00:51 +00:00
|
|
|
OpenMeshCore
|
|
|
|
|
OpenMeshTools
|
2018-12-14 14:57:30 +01:00
|
|
|
Qt5::OpenGL
|
2009-06-04 10:00:51 +00:00
|
|
|
${OPENGL_LIBRARIES}
|
|
|
|
|
)
|
|
|
|
|
|