archrelease: copy trunk to community-x86_64
[ArchLinux/community.git] / libnoise / trunk / CMakeLists.txt
bloba348f2653ffc046b20ab1e67539a876f4e929e94
1 CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
3 PROJECT(libnoise)
5 SET (LIBNOISE_SRC
6         src/latlon.cpp
7         src/model/cylinder.cpp
8         src/model/line.cpp
9         src/model/plane.cpp
10         src/model/sphere.cpp
11         src/module/abs.cpp
12         src/module/add.cpp
13         src/module/billow.cpp
14         src/module/blend.cpp
15         src/module/cache.cpp
16         src/module/checkerboard.cpp
17         src/module/clamp.cpp
18         src/module/const.cpp
19         src/module/curve.cpp
20         src/module/cylinders.cpp
21         src/module/displace.cpp
22         src/module/exponent.cpp
23         src/module/invert.cpp
24         src/module/max.cpp
25         src/module/min.cpp
26         src/module/modulebase.cpp
27         src/module/multiply.cpp
28         src/module/perlin.cpp
29         src/module/power.cpp
30         src/module/ridgedmulti.cpp
31         src/module/rotatepoint.cpp
32         src/module/scalebias.cpp
33         src/module/scalepoint.cpp
34         src/module/select.cpp
35         src/module/spheres.cpp
36         src/module/terrace.cpp
37         src/module/translatepoint.cpp
38         src/module/turbulence.cpp
39         src/module/voronoi.cpp
40         src/noisegen.cpp
43 set (BASE_HEADERS
44         src/basictypes.h
45         src/exception.h
46         src/interp.h
47         src/latlon.h
48         src/mathconsts.h
49         src/misc.h
50         src/noise.h
51         src/noisegen.h
52         src/vectortable.h
55 SET (MODEL_HEADERS
56         src/model/cylinder.h
57         src/model/line.h
58         src/model/model.h
59         src/model/plane.h
60         src/model/sphere.h
63 SET (MODULE_HEADERS
64         src/module/abs.h
65         src/module/add.h
66         src/module/billow.h
67         src/module/blend.h
68         src/module/cache.h
69         src/module/checkerboard.h
70         src/module/clamp.h
71         src/module/const.h
72         src/module/curve.h
73         src/module/cylinders.h
74         src/module/displace.h
75         src/module/exponent.h
76         src/module/invert.h
77         src/module/max.h
78         src/module/min.h
79         src/module/module.h
80         src/module/modulebase.h
81         src/module/multiply.h
82         src/module/perlin.h
83         src/module/power.h
84         src/module/ridgedmulti.h
85         src/module/rotatepoint.h
86         src/module/scalebias.h
87         src/module/scalepoint.h
88         src/module/select.h
89         src/module/spheres.h
90         src/module/terrace.h
91         src/module/translatepoint.h
92         src/module/turbulence.h
93         src/module/voronoi.h
96 ADD_LIBRARY (noise SHARED ${LIBNOISE_SRC})
97 SET_TARGET_PROPERTIES (noise PROPERTIES VERSION 1.0.0)
98 INSTALL(TARGETS noise DESTINATION lib)
99 INSTALL(FILES ${BASE_HEADERS} DESTINATION "include/noise")
100 INSTALL(FILES ${MODEL_HEADERS} DESTINATION "include/noise/model")
101 INSTALL(FILES ${MODULE_HEADERS} DESTINATION "include/noise/module")