Some cleanup in App cmake files to make them smaller and more readable

This commit is contained in:
Jan Möbius
2018-12-14 11:59:42 +01:00
parent 92b580a9ec
commit 06061b2d5b
12 changed files with 32 additions and 73 deletions

View File

@@ -5,15 +5,13 @@ include_directories (
${CMAKE_CURRENT_SOURCE_DIR}
)
set (targetName Dualizer)
# collect all header and source files
acg_append_files (headers "*.hh" .)
acg_append_files (sources "*.cc" .)
acg_add_executable (${targetName} ${headers} ${sources})
acg_add_executable (Dualizer ${headers} ${sources})
target_link_libraries (${targetName}
target_link_libraries (Dualizer
OpenMeshCore
OpenMeshTools
)