Added documentation about using cmake to build an application using OpenMesh
This commit is contained in:
20
Doc/Tutorial/CMakeLists.txt-internal
Normal file
20
Doc/Tutorial/CMakeLists.txt-internal
Normal 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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user