mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-04 23:28:05 +02:00
Move DBUS_ENABLE_EMBEDDED_TESTS and BUS_ENABLE_MODULAR_TESTS to config.h.cmake
Bug: https://gitlab.freedesktop.org/dbus/dbus/issues/117 Reviewed-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
parent
6978c1192c
commit
c0bfd55938
2 changed files with 3 additions and 1 deletions
|
|
@ -305,7 +305,6 @@ option (DBUS_BUILD_TESTS "enable unit test code" ON)
|
|||
if(DBUS_BUILD_TESTS)
|
||||
set (DBUS_ENABLE_EMBEDDED_TESTS ON)
|
||||
set (DBUS_ENABLE_MODULAR_TESTS ON)
|
||||
add_definitions(-DDBUS_ENABLE_EMBEDDED_TESTS -DDBUS_ENABLE_MODULAR_TESTS)
|
||||
endif(DBUS_BUILD_TESTS)
|
||||
|
||||
option (DBUS_USE_OUTPUT_DEBUG_STRING "enable win32 debug port for message output" OFF)
|
||||
|
|
|
|||
|
|
@ -46,6 +46,9 @@
|
|||
#ifndef DBUS_DISABLE_CHECKS
|
||||
# define DBUS_ENABLE_CHECKS 1
|
||||
#endif
|
||||
#cmakedefine DBUS_ENABLE_EMBEDDED_TESTS 1
|
||||
#cmakedefine DBUS_ENABLE_MODULAR_TESTS 1
|
||||
|
||||
/* xmldocs */
|
||||
/* doxygen */
|
||||
#cmakedefine DBUS_GCOV_ENABLED 1
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue