Line
Link Here
|
0 |
-- a/CMakeLists.txt |
0 |
++ b/CMakeLists.txt |
Lines 44-49
Link Here
|
44 |
|
44 |
|
45 |
option (ENABLE_FRAME_POINTER "Disable frame pointer omission" ON) |
45 |
option (ENABLE_FRAME_POINTER "Disable frame pointer omission" ON) |
46 |
|
46 |
|
|
|
47 |
option (BUILD_LIB_ONLY "Build the glxtrace library only" OFF) |
48 |
|
47 |
# Proprietary Linux games often ship their own libraries (zlib, libstdc++, |
49 |
# Proprietary Linux games often ship their own libraries (zlib, libstdc++, |
48 |
# etc.) in order to ship a single set of binaries across multiple |
50 |
# etc.) in order to ship a single set of binaries across multiple |
49 |
# distributions. Given that apitrace wrapper modules will be loaded into those |
51 |
# distributions. Given that apitrace wrapper modules will be loaded into those |
50 |
-- a/retrace/CMakeLists.txt |
52 |
++ b/retrace/CMakeLists.txt |
Lines 12-17
Link Here
|
12 |
|
12 |
|
13 |
add_definitions (-DRETRACE) |
13 |
add_definitions (-DRETRACE) |
14 |
|
14 |
|
|
|
15 |
if (NOT BUILD_LIB_ONLY) |
16 |
|
15 |
add_custom_command ( |
17 |
add_custom_command ( |
16 |
OUTPUT glretrace_gl.cpp |
18 |
OUTPUT glretrace_gl.cpp |
17 |
COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/glretrace.py > ${CMAKE_CURRENT_BINARY_DIR}/glretrace_gl.cpp |
19 |
COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/glretrace.py > ${CMAKE_CURRENT_BINARY_DIR}/glretrace_gl.cpp |
Lines 368-370
Link Here
|
368 |
install (TARGETS d3dretrace RUNTIME DESTINATION bin) |
370 |
install (TARGETS d3dretrace RUNTIME DESTINATION bin) |
369 |
install_pdb (d3dretrace DESTINATION bin) |
371 |
install_pdb (d3dretrace DESTINATION bin) |
370 |
endif () |
372 |
endif () |
|
|
373 |
|
374 |
endif (NOT BUILD_LIB_ONLY) |