]> Creatis software - cpMesh.git/blob - appli/examples/CMakeLists.txt
First commit
[cpMesh.git] / appli / examples / CMakeLists.txt
1 ## =========================
2 ## = Command line programs =
3 ## =========================
4
5 IF(BUILD_EXAMPLES)
6   SET(
7     DEMO_PROGRAMS
8     example_QuadEdgeDecimation
9     example_QuadEdgeMeshToSimplexMesh
10     example_ReadQuadEdgeMesh
11     example_ReadOBJAsQuadEdgeMesh
12     example_ReadVTKMeshAsQuadEdgeMesh
13     example_RenderQuadEdgeMesh
14     example_RenderDualMesh
15     example_SimplexMeshDeleteEdge
16     example_InternalForceSimplexMesh
17     )
18
19   FOREACH(demo_program ${DEMO_PROGRAMS}) 
20     ADD_EXECUTABLE(
21       ${demo_program}
22       ${demo_program}.cxx
23       )
24     TARGET_LINK_LIBRARIES(
25       ${demo_program}
26       cpm
27       )
28   ENDFOREACH(demo_program) 
29 ENDIF(BUILD_EXAMPLES)
30
31 ## eof - $RCSfile$