[OPENGL]
[reactos.git] / reactos / dll / opengl / mesa / src / gallium / state_trackers / wgl / CMakeLists.txt
1
2 add_definitions(
3 -D_GDI32_ # prevent gl* being declared __declspec(dllimport) in MS headers
4 -DBUILD_GL32 # declare gl* as __declspec(dllexport) in Mesa headers
5 -D_GLAPI_NO_EXPORTS # prevent _glapi_* from being declared __declspec(dllimport)
6 )
7 if(NOT MSVC)
8 add_compile_flags("-Wno-implicit-function-declaration")
9 endif()
10
11 include_directories(
12 ../../../mapi
13 ../../../mesa
14 .)
15
16 list( APPEND SOURCE
17 stw_context.c
18 stw_device.c
19 stw_ext_context.c
20 stw_ext_extensionsstring.c
21 stw_ext_gallium.c
22 stw_ext_pbuffer.c
23 stw_ext_pixelformat.c
24 stw_ext_swapinterval.c
25 stw_framebuffer.c
26 stw_getprocaddress.c
27 stw_pixelformat.c
28 stw_st.c
29 stw_tls.c
30 stw_wgl.c
31 )
32
33 add_library(gallium_wgl STATIC EXCLUDE_FROM_ALL ${SOURCE})