The whole file is only added with the mentioned variable
set, so it can also be skipped completly one level up.
)
target_link_libraries(dbus-testutils ${DBUS_INTERNAL_LIBRARIES})
-add_subdirectory( name-test )
+if(DBUS_ENABLE_EMBEDDED_TESTS)
+ add_subdirectory( name-test )
+endif()
set(manual-dir-iter_SOURCES
manual-dir-iter.c
-if(DBUS_ENABLE_EMBEDDED_TESTS)
-
add_definitions(${DBUS_INTERNAL_CLIENT_DEFINITIONS})
add_helper_executable(test-autolaunch test-autolaunch.c dbus-testutils)
if (ENABLE_TRADITIONAL_ACTIVATION)
add_session_test_executable(test-thread-init test-threads-init.c ${DBUS_INTERNAL_LIBRARIES})
endif()
-endif()