1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84
|
# Files to compile
SET ( FILES
cut.cpp
example5.cpp
example6.cpp
example7.cpp
example8.cpp
face5.cpp
face6.cpp
face7.cpp
face8.cpp
facehelper.cpp
facenumbering.cpp
facetpairing2.cpp
facetpairing4.cpp
facetpairing5.cpp
facetpairing6.cpp
facetpairing7.cpp
facetpairing8.cpp
facetspec.cpp
isomorphism5.cpp
isomorphism6.cpp
isomorphism7.cpp
isomorphism8.cpp
pygeneric.cpp
triangulation5.cpp
triangulation6.cpp
triangulation7.cpp
triangulation8.cpp
)
# Prepend folder name
FOREACH ( SOURCE_FILE ${FILES} )
SET ( SOURCES ${SOURCES} generic/${SOURCE_FILE})
ENDFOREACH(SOURCE_FILE)
# These files are only included if HIGHDIM is set
SET ( FILES
example9.cpp
example10.cpp
example11.cpp
example12.cpp
example13.cpp
example14.cpp
example15.cpp
face9.cpp
face10.cpp
face11.cpp
face12.cpp
face13.cpp
face14.cpp
face15.cpp
facetpairing9.cpp
facetpairing10.cpp
facetpairing11.cpp
facetpairing12.cpp
facetpairing13.cpp
facetpairing14.cpp
facetpairing15.cpp
isomorphism9.cpp
isomorphism10.cpp
isomorphism11.cpp
isomorphism12.cpp
isomorphism13.cpp
isomorphism14.cpp
isomorphism15.cpp
triangulation9.cpp
triangulation10.cpp
triangulation11.cpp
triangulation12.cpp
triangulation13.cpp
triangulation14.cpp
triangulation15.cpp
)
IF(HIGHDIM)
# Prepend folder name
FOREACH ( SOURCE_FILE ${FILES} )
SET ( SOURCES ${SOURCES} generic/${SOURCE_FILE})
ENDFOREACH(SOURCE_FILE)
ENDIF(HIGHDIM)
# Set the variable in the parent directory
SET( SOURCES ${SOURCES} PARENT_SCOPE)
|