Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 523718 | Differences between
and this patch

Collapse All | Expand All

(-)a/CMakeLists.txt (+5 lines)
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
(-)a/retrace/CMakeLists.txt (+4 lines)
Lines 11-16 include_directories ( Link Here
11
11
12
add_definitions (-DRETRACE)
12
add_definitions (-DRETRACE)
13
13
14
if (NOT BUILD_LIB_ONLY)
15
14
add_custom_command (
16
add_custom_command (
15
    OUTPUT glretrace_gl.cpp
17
    OUTPUT glretrace_gl.cpp
16
    COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/glretrace.py > ${CMAKE_CURRENT_BINARY_DIR}/glretrace_gl.cpp
18
    COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/glretrace.py > ${CMAKE_CURRENT_BINARY_DIR}/glretrace_gl.cpp
Lines 282-284 if (WIN32) Link Here
282
284
283
    install (TARGETS d3dretrace RUNTIME DESTINATION bin)
285
    install (TARGETS d3dretrace RUNTIME DESTINATION bin)
284
endif ()
286
endif ()
287
288
endif (NOT BUILD_LIB_ONLY)

Return to bug 523718