mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
[GLU32] Add a PCH.
This commit is contained in:
parent
d05c658dbd
commit
2a3392b97d
2 changed files with 62 additions and 3 deletions
|
@ -33,7 +33,9 @@ list(APPEND SOURCE
|
|||
src/libtess/render.c
|
||||
src/libtess/sweep.c
|
||||
src/libtess/tess.c
|
||||
src/libtess/tessmono.c
|
||||
src/libtess/tessmono.c)
|
||||
|
||||
list(APPEND LIBNURBS_SOURCE
|
||||
src/libnurbs/interface/bezierEval.cc
|
||||
src/libnurbs/interface/bezierPatch.cc
|
||||
src/libnurbs/interface/bezierPatchMesh.cc
|
||||
|
@ -95,7 +97,6 @@ list(APPEND SOURCE
|
|||
src/libnurbs/nurbtess/monoTriangulation.cc
|
||||
src/libnurbs/nurbtess/partitionX.cc
|
||||
src/libnurbs/nurbtess/partitionY.cc
|
||||
src/libnurbs/nurbtess/polyDBG.cc
|
||||
src/libnurbs/nurbtess/polyUtil.cc
|
||||
src/libnurbs/nurbtess/primitiveStream.cc
|
||||
src/libnurbs/nurbtess/quicksort.cc
|
||||
|
@ -107,9 +108,15 @@ list(APPEND SOURCE
|
|||
src/libnurbs/nurbtess/sampleMonoPoly.cc
|
||||
src/libnurbs/nurbtess/sampledLine.cc
|
||||
src/libnurbs/nurbtess/searchTree.cc
|
||||
precomp.h)
|
||||
|
||||
add_library(glu32 SHARED
|
||||
${LIBNURBS_SOURCE}
|
||||
src/libnurbs/nurbtess/polyDBG.cc
|
||||
${SOURCE}
|
||||
glu32.rc
|
||||
${CMAKE_CURRENT_BINARY_DIR}/glu32.def)
|
||||
|
||||
add_library(glu32 SHARED ${SOURCE} glu32.rc)
|
||||
set_module_type(glu32 win32dll)
|
||||
|
||||
if(NOT MSVC)
|
||||
|
@ -117,4 +124,5 @@ if(NOT MSVC)
|
|||
endif()
|
||||
|
||||
add_importlibs(glu32 opengl32 gdi32 msvcrt kernel32 ntdll)
|
||||
add_pch(glu32 precomp.h LIBNURBS_SOURCE)
|
||||
add_cd_file(TARGET glu32 DESTINATION reactos/system32 FOR all)
|
||||
|
|
51
dll/opengl/glu32/precomp.h
Normal file
51
dll/opengl/glu32/precomp.h
Normal file
|
@ -0,0 +1,51 @@
|
|||
#ifndef _GLU32_PRECOMP_H_
|
||||
#define _GLU32_PRECOMP_H_
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "gluos.h"
|
||||
#include "glrenderer.h"
|
||||
|
||||
#include <GL/gl.h>
|
||||
|
||||
#include "arc.h"
|
||||
#include "arcsorter.h"
|
||||
#include "backend.h"
|
||||
#include "basiccrveval.h"
|
||||
#include "basicsurfeval.h"
|
||||
#include "bezierarc.h"
|
||||
#include "bezierEval.h"
|
||||
#include "curve.h"
|
||||
#include "curvelist.h"
|
||||
#include "displaylist.h"
|
||||
#include "flist.h"
|
||||
#include "glimports.h"
|
||||
#include "mapdesc.h"
|
||||
#include "monoTriangulation.h"
|
||||
#include "myassert.h"
|
||||
#include "mymath.h"
|
||||
#include "nurbsconsts.h"
|
||||
#include "nurbstess.h"
|
||||
#include "partitionX.h"
|
||||
#include "patchlist.h"
|
||||
#include "polyDBG.h"
|
||||
#include "polyUtil.h"
|
||||
#include "quicksort.h"
|
||||
#include "quilt.h"
|
||||
#include "renderhints.h"
|
||||
#include "sampleComp.h"
|
||||
#include "sampleCompTop.h"
|
||||
#include "sampleCompBot.h"
|
||||
#include "sampleCompRight.h"
|
||||
#include "searchTree.h"
|
||||
#include "simplemath.h"
|
||||
#include "subdivider.h"
|
||||
#include "trimvertex.h"
|
||||
#include "trimvertpool.h"
|
||||
#include "varray.h"
|
||||
#include "zlassert.h"
|
||||
|
||||
#endif /* _GLU32_PRECOMP_H_ */
|
Loading…
Reference in a new issue