File: CMakeLists.txt

package info (click to toggle)
regina-normal 7.4.1-1.1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 154,244 kB
  • sloc: cpp: 295,026; xml: 9,992; sh: 1,344; python: 1,225; perl: 616; ansic: 138; makefile: 26
file content (43 lines) | stat: -rw-r--r-- 840 bytes parent folder | download | duplicates (2)
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
# census

# Files to compile
SET ( FILES
  census.cpp
  gluingperms2.cpp
  gluingperms3.cpp
  gluingperms4.cpp
  gluingperms5.cpp
  gluingperms6.cpp
  gluingperms7.cpp
  gluingperms8.cpp
  gluingpermsearcher2.cpp
  gluingpermsearcher3.cpp
  gluingpermsearcher4.cpp
  purgeflags.cpp
  pycensus.cpp
  )

# Prepend folder name
FOREACH ( SOURCE_FILE ${FILES} )
  SET ( SOURCES ${SOURCES} census/${SOURCE_FILE})
ENDFOREACH(SOURCE_FILE)

# These files are only included if HIGHDIM is set
SET ( FILES
  gluingperms9.cpp
  gluingperms10.cpp
  gluingperms11.cpp
  gluingperms12.cpp
  gluingperms13.cpp
  gluingperms14.cpp
  gluingperms15.cpp
  )

IF(HIGHDIM)
  # Prepend folder name
  FOREACH ( SOURCE_FILE ${FILES} )
    SET ( SOURCES ${SOURCES} census/${SOURCE_FILE})
  ENDFOREACH(SOURCE_FILE)
ENDIF(HIGHDIM)

SET(SOURCES ${SOURCES} PARENT_SCOPE)