[CMAKE]
[reactos.git] / dll / win32 / opengl32 / CMakeLists.txt
1
2 set_unicode()
3
4 add_definitions(-D_DLL -D__USE_CRTIMP)
5
6 spec2def(opengl32.dll opengl32.spec)
7
8 list(APPEND SOURCE
9 font.c
10 gl.c
11 opengl32.c
12 wgl.c
13 ${CMAKE_CURRENT_BINARY_DIR}/opengl32.def)
14
15 add_library(opengl32 SHARED
16 ${CMAKE_CURRENT_BINARY_DIR}/opengl32_opengl32.h.gch
17 ${SOURCE})
18
19 set_module_type(opengl32 win32dll)
20
21 add_importlibs(opengl32
22 msvcrt
23 gdi32
24 user32
25 advapi32
26 glu32
27 kernel32
28 ntdll)
29
30 add_pch(opengl32 ${CMAKE_CURRENT_SOURCE_DIR}/opengl32.h ${SOURCE})
31
32 add_cab_target(opengl32 1)