9b16182cce7f949c7722027e1c0d3ef70471c20c
[reactos.git] / reactos / dll / win32 / glu32 / CMakeLists.txt
1
2 set_cpp()
3
4 add_definitions(
5 -DRESOLVE_3D_TEXTURE_SUPPORT
6 -DBUILD_GL32
7 -DLIBRARYBUILD)
8
9 include_directories(
10 include
11 libnurbs/internals
12 libnurbs/interface
13 libnurbs/nurbtess
14 libtess
15 libutil)
16
17 spec2def(glu32.dll glu32.spec)
18
19 list(APPEND SOURCE
20 libnurbs/interface/bezierEval.cc
21 libnurbs/interface/bezierPatch.cc
22 libnurbs/interface/bezierPatchMesh.cc
23 libnurbs/interface/glcurveval.cc
24 libnurbs/interface/glinterface.cc
25 libnurbs/interface/glrenderer.cc
26 libnurbs/interface/glsurfeval.cc
27 libnurbs/interface/incurveeval.cc
28 libnurbs/interface/insurfeval.cc
29 libnurbs/internals/arc.cc
30 libnurbs/internals/arcsorter.cc
31 libnurbs/internals/arctess.cc
32 libnurbs/internals/backend.cc
33 libnurbs/internals/basiccrveval.cc
34 libnurbs/internals/basicsurfeval.cc
35 libnurbs/internals/bin.cc
36 libnurbs/internals/bufpool.cc
37 libnurbs/internals/cachingeval.cc
38 libnurbs/internals/ccw.cc
39 libnurbs/internals/coveandtiler.cc
40 libnurbs/internals/curve.cc
41 libnurbs/internals/curvelist.cc
42 libnurbs/internals/curvesub.cc
43 libnurbs/internals/dataTransform.cc
44 libnurbs/internals/displaylist.cc
45 libnurbs/internals/flist.cc
46 libnurbs/internals/flistsorter.cc
47 libnurbs/internals/hull.cc
48 libnurbs/internals/intersect.cc
49 libnurbs/internals/knotvector.cc
50 libnurbs/internals/mapdesc.cc
51 libnurbs/internals/mapdescv.cc
52 libnurbs/internals/maplist.cc
53 libnurbs/internals/mesher.cc
54 libnurbs/internals/monoTriangulationBackend.cc
55 libnurbs/internals/monotonizer.cc
56 libnurbs/internals/mycode.cc
57 libnurbs/internals/nurbsinterfac.cc
58 libnurbs/internals/nurbstess.cc
59 libnurbs/internals/patch.cc
60 libnurbs/internals/patchlist.cc
61 libnurbs/internals/quilt.cc
62 libnurbs/internals/reader.cc
63 libnurbs/internals/renderhints.cc
64 libnurbs/internals/slicer.cc
65 libnurbs/internals/sorter.cc
66 libnurbs/internals/splitarcs.cc
67 libnurbs/internals/subdivider.cc
68 libnurbs/internals/tobezier.cc
69 libnurbs/internals/trimline.cc
70 libnurbs/internals/trimregion.cc
71 libnurbs/internals/trimvertpool.cc
72 libnurbs/internals/uarray.cc
73 libnurbs/internals/varray.cc
74 libnurbs/nurbtess/directedLine.cc
75 libnurbs/nurbtess/gridWrap.cc
76 libnurbs/nurbtess/monoChain.cc
77 libnurbs/nurbtess/monoPolyPart.cc
78 libnurbs/nurbtess/monoTriangulation.cc
79 libnurbs/nurbtess/partitionX.cc
80 libnurbs/nurbtess/partitionY.cc
81 libnurbs/nurbtess/polyDBG.cc
82 libnurbs/nurbtess/polyUtil.cc
83 libnurbs/nurbtess/primitiveStream.cc
84 libnurbs/nurbtess/quicksort.cc
85 libnurbs/nurbtess/rectBlock.cc
86 libnurbs/nurbtess/sampleComp.cc
87 libnurbs/nurbtess/sampleCompBot.cc
88 libnurbs/nurbtess/sampleCompRight.cc
89 libnurbs/nurbtess/sampleCompTop.cc
90 libnurbs/nurbtess/sampleMonoPoly.cc
91 libnurbs/nurbtess/sampledLine.cc
92 libnurbs/nurbtess/searchTree.cc
93 libtess/dict.c
94 libtess/geom.c
95 libtess/memalloc.c
96 libtess/mesh.c
97 libtess/normal.c
98 libtess/priorityq.c
99 libtess/render.c
100 libtess/sweep.c
101 libtess/tess.c
102 libtess/tessmono.c
103 libutil/error.c
104 libutil/glue.c
105 libutil/mipmap.c
106 libutil/project.c
107 libutil/quad.c
108 libutil/registry.c
109 ${CMAKE_CURRENT_BINARY_DIR}/glu32.def)
110
111 add_library(glu32 SHARED ${SOURCE})
112 allow_warnings(glu32)
113 set_module_type(glu32 win32dll ENTRYPOINT 0 )
114
115 add_importlibs(glu32
116 opengl32
117 gdi32
118 msvcrt
119 kernel32
120 ntdll)
121
122 add_cd_file(TARGET glu32 DESTINATION reactos/system32 FOR all)
123 add_importlib_target(glu32.spec)