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