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