Lines 33-38
set (ENABLE_EGL true CACHE BOOL "Enable EGL support.")
Link Here
|
33 |
|
33 |
|
34 |
set (ENABLE_WAFFLE false CACHE BOOL "Enable WAFFLE support.") |
34 |
set (ENABLE_WAFFLE false CACHE BOOL "Enable WAFFLE support.") |
35 |
|
35 |
|
|
|
36 |
option (BUILD_LIB_ONLY "Build the glxtrace library only" OFF) |
36 |
|
37 |
|
37 |
############################################################################## |
38 |
############################################################################## |
38 |
# Find dependencies |
39 |
# Find dependencies |
Lines 301-306
set (MD5_LIBRARIES md5_bundled)
Link Here
|
301 |
# - The packaged versions QJson are very old, and do not support NaN/Infinity. |
302 |
# - The packaged versions QJson are very old, and do not support NaN/Infinity. |
302 |
# - To make it easier to build the GUI on Windows and MacOSX, as there are no |
303 |
# - To make it easier to build the GUI on Windows and MacOSX, as there are no |
303 |
# binaries at all. |
304 |
# binaries at all. |
|
|
305 |
if (NOT BUILD_LIB_ONLY) |
306 |
|
304 |
if (QT4_FOUND) |
307 |
if (QT4_FOUND) |
305 |
add_definitions (-DQJSON_EXPORT=) |
308 |
add_definitions (-DQJSON_EXPORT=) |
306 |
add_subdirectory (thirdparty/qjson) |
309 |
add_subdirectory (thirdparty/qjson) |
Lines 310-315
if (QT4_FOUND)
Link Here
|
310 |
set (QJSON_FOUND TRUE) |
313 |
set (QJSON_FOUND TRUE) |
311 |
endif () |
314 |
endif () |
312 |
|
315 |
|
|
|
316 |
endif (NOT BUILD_LIB_ONLY) |
317 |
|
313 |
# We use bundled headers for all Khronos APIs, to guarantee support for both |
318 |
# We use bundled headers for all Khronos APIs, to guarantee support for both |
314 |
# OpenGL and OpenGL ES at build time, because the OpenGL and OpenGL ES 1 APIs |
319 |
# OpenGL and OpenGL ES at build time, because the OpenGL and OpenGL ES 1 APIs |
315 |
# are so intertwined that conditional compilation extremely difficult. This |
320 |
# are so intertwined that conditional compilation extremely difficult. This |