4 # our DBG definitions conflict with mesa source code
5 remove_definitions(-DDBG=1 -DDBG=0)
12 -D_GDI32_ # prevent gl* being declared __declspec(dllimport) in MS headers
13 -DBUILD_GL32 # declare gl* as __declspec(dllexport) in Mesa headers
14 -D_GLAPI_NO_EXPORTS # prevent _glapi_* from being declared __declspec(dllimport)
18 add_definitions(-DOPENGL32_USE_TLS)
21 if((ARCH STREQUAL "i386") AND (NOT MSVC))
31 add_subdirectory(drivers/common)
32 add_subdirectory(main)
33 add_subdirectory(math)
34 add_subdirectory(swrast)
35 add_subdirectory(swrast_setup)