[MESA]
[reactos.git] / reactos / dll / opengl / mesa / src / mesa / CMakeLists.txt
1
2 include_directories(
3 ../mapi
4 .
5 )
6
7 add_definitions(
8 -DFEATURE_GL=1
9 -D_GDI32_ # prevent gl* being declared __declspec(dllimport) in MS headers
10 -DBUILD_GL32 # declare gl* as __declspec(dllexport) in Mesa headers
11 -D_GLAPI_NO_EXPORTS # prevent _glapi_* from being declared __declspec(dllimport)
12 )
13
14 if((ARCH STREQUAL "i386") AND (NOT MSVC))
15 add_definitions(
16 -DUSE_X86_ASM
17 -DUSE_MMX_ASM
18 -DUSE_3DNOW_ASM
19 -DUSE_SSE_ASM
20 )
21 add_subdirectory(x86)
22 endif()
23
24 add_subdirectory(drivers/common)
25 add_subdirectory(main)
26 add_subdirectory(math)
27 add_subdirectory(swrast)
28 add_subdirectory(swrast_setup)
29 add_subdirectory(tnl)
30 add_subdirectory(vbo)