Added documentation about using cmake to build an application using OpenMesh

This commit is contained in:
Jan Möbius
2023-02-28 13:40:30 +01:00
parent b4f94b7416
commit ef56d4090a
5 changed files with 39 additions and 5 deletions

View File

@@ -0,0 +1,20 @@
include (VCICommon)
include_directories (
../../..
${CMAKE_CURRENT_SOURCE_DIR}
)
set (targetName MyOwnProject)
# collect all header and source files
vci_append_files (headers "*.hh" .)
vci_append_files (sources "*.cc" .)
vci_add_executable (${targetName} ${headers} ${sources})
target_link_libraries (${targetName}
OpenMeshCore
OpenMeshTools
)