diff options
| author | Marco Trevisan (TreviƱo) <mail@3v1n0.net> | 2013-07-11 03:21:07 +0000 |
|---|---|---|
| committer | Tarmac <> | 2013-07-11 03:21:07 +0000 |
| commit | 180e59cab6f20d4cacff5287fa55868e8634ddf0 (patch) | |
| tree | c3b4cf394cc4f0dfa3438110fca23c931f94da0e /cmake | |
| parent | 5c5d2dd05bc3f0e1db900da4f4fece8a49d63573 (diff) | |
| parent | 5f1cf3f8b596e263969e39f3367b5ecd5ce07f09 (diff) | |
CMake: run X-dependent tests using a dummy Xorg server on make check-headless
This is possible using dummy-xorg-test-runner.sh to run these tests. Calling ./dummy-xorg-test-runner.sh binary --any-parameter -f --bar will load binary (with requested parameters) in a fake X server (using dummy xorg video driver, that now also uses llvmpipe to get 3d acceleration). Fixes: https://bugs.launchpad.net/bugs/1197561, https://bugs.launchpad.net/bugs/1199857, https://bugs.launchpad.net/bugs/1199890. Approved by PS Jenkins bot, Christopher Townsend. (bzr r3420)
Diffstat (limited to 'cmake')
| -rw-r--r-- | cmake/pch.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/pch.cmake b/cmake/pch.cmake index 9b038cf47..9df1c0383 100644 --- a/cmake/pch.cmake +++ b/cmake/pch.cmake @@ -72,6 +72,7 @@ function(add_pch_linux header_filename target_name pch_suffix) # Add the PCH to every source file's include list. # This is the only way that is supported by both GCC and Clang. set_property(TARGET ${target_name} APPEND_STRING PROPERTY COMPILE_FLAGS " -include ${header_basename} ") + set_property(TARGET ${target_name} APPEND_STRING PROPERTY COMPILE_FLAGS " -fpch-preprocess ") set_property(TARGET ${target_name} APPEND_STRING PROPERTY COMPILE_FLAGS " -Winvalid-pch ") set_property(TARGET ${target_name} APPEND PROPERTY INCLUDE_DIRECTORIES ${CMAKE_CURRENT_BINARY_DIR}) |
