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