Lines Matching +full:io +full:- +full:backends

18 #       cmake -G "Visual Studio 10" ..
41 # what? why would you get id of other useful build types? - Ellzey
101 alpha-dev
110 if (EVENT__STAGE_RET EQUAL -1)
117 "${EVENT_VERSION_MAJOR}.${EVENT_VERSION_MINOR}.${EVENT_VERSION_PATCH}-${EVENT_STAGE_NAME}")
152 # TODO: Add --disable-largefile omit support for large files
154 …get a test coverage report (only works with GCC/CLang). Make sure to enable -DCMAKE_BUILD_TYPE=Deb…
157 # top of the build tree rather than in hard-to-find leaf directories.
172 add_definitions(-DUSE_DEBUG=1)
175 # make it colorful under ninja-build
177 add_compiler_flags(-fdiagnostics-color=always)
183 message(FATAL_ERROR "Coverage requires -DCMAKE_BUILD_TYPE=Debug")
188 set(CMAKE_REQUIRED_LIBRARIES "--coverage")
189 add_compiler_flags(-g -O0 --coverage)
244 …# - https://docs.microsoft.com/en-us/cpp/build/reference/md-mt-ld-use-run-time-library?view=vs-2017
245 …# - https://gitlab.kitware.com/cmake/community/wikis/FAQ#how-can-i-build-my-msvc-application-with-
274 -Wall -Wextra -Wno-unused-parameter -Wstrict-aliasing -Wstrict-prototypes
276 -fno-strict-aliasing # gcc 2.9.5+
277 -Wmissing-prototypes
280 -Winit-self
281 -Wmissing-field-initializers
282 -Wdeclaration-after-statement
285 -Waddress
286 -Wnormalized=id
287 -Woverride-init
290 -Wlogical-op
292 -Wwrite-strings
296 list(APPEND __FLAGS -Wno-unused-function)
300 list(APPEND __FLAGS -w)
305 -fstack-protector-all
306 -fwrapv
307 -fPIE
308 -Wstack-protector
309 "--param ssp-buffer-size=1")
311 add_definitions(-D_FORTIFY_SOURCE=2)
315 list(APPEND __FLAGS -ffunction-sections)
316 # TODO: Add --gc-sections support. We need some checks for NetBSD to ensure this works.
320 list(APPEND __FLAGS -Werror)
329 -Wno-error=deprecated-declarations
330 -Qunused-arguments
341 set(CMAKE_REQUIRED_DEFINITIONS -FIwinsock2.h -FIws2tcpip.h -D_WIN32_WINNT=0x0600)
362 add_definitions(-D_GNU_SOURCE=1)
363 set(CMAKE_REQUIRED_DEFINITIONS -D_GNU_SOURCE)
387 io.h
599 # XXX we should functionalize these size and type sets. --elley
651 # TODO: Add AIX test for if -D_LARGE_FILES is needed.
656 # - ellzey
682 set(CMAKE_REQUIRED_DEFINITIONS "-DWIN32_LEAN_AND_MEAN")
744 bufferevent-internal.h
745 changelist-internal.h
746 defer-internal.h
747 epolltable-internal.h
748 evbuffer-internal.h
749 event-internal.h
750 evmap-internal.h
751 evrpc-internal.h
752 evsignal-internal.h
753 evthread-internal.h
754 ht-internal.h
755 http-internal.h
756 iocp-internal.h
757 ipv6-internal.h
758 log-internal.h
759 minheap-internal.h
760 mm-internal.h
761 ratelim-internal.h
762 strlcpy-internal.h
763 util-internal.h
764 evconfig-private.h
799 ${PROJECT_BINARY_DIR}/include/event2/event-config.h)
891 add_definitions(-DHAVE_CONFIG_H)
906 list(APPEND HDR_PRIVATE WIN32-Code/getopt.h)
911 -D_CRT_SECURE_NO_WARNINGS
912 -D_CRT_NONSTDC_NO_DEPRECATE)
914 include_directories(./WIN32-Code)
932 set(EVENT_SHARED_FLAGS -fvisibility=hidden)
934 set(EVENT_SHARED_FLAGS -xldscope=hidden)
938 ${CMAKE_CURRENT_SOURCE_DIR}/event-config.h.cmake
939 ${CMAKE_CURRENT_BINARY_DIR}/include/event2/event-config.h
943 ${CMAKE_CURRENT_SOURCE_DIR}/evconfig-private.h.cmake
944 ${CMAKE_CURRENT_BINARY_DIR}/include/evconfig-private.h)
990 WIN32-Code/getopt.c
991 WIN32-Code/getopt_long.c)
1015 event-read-fifo
1016 hello-world
1017 signal-test
1018 http-connect
1019 time-test)
1026 add_sample_prog(ON https-client
1027 sample/https-client.c
1030 add_sample_prog(ON le-proxy
1031 sample/le-proxy.c)
1035 dns-example
1036 http-server
1097 add_definitions(-DTINYTEST_LOCAL)
1106 COMMAND ${PYTHON_EXECUTABLE} ../event_rpcgen.py --quiet regress.rpc
1178 # auto-compile|running
1179 # - ellzey
1180 set(TESTPROGS test-changelist
1181 test-eof
1182 test-closed
1183 test-fdleak
1184 test-init
1185 test-time
1186 test-weof)
1188 foreach (TESTPROG ${TESTPROGS} test-dumpevents)
1192 add_test_prog(test-ratelim m)
1194 add_test_prog(test-ratelim)
1199 test-dumpevents
1200 test-ratelim
1204 # We run all tests with the different backends turned on one at a time.
1207 # Add event backends based on system introspection result.
1208 set(BACKENDS "") variable
1211 list(APPEND BACKENDS EPOLL)
1215 list(APPEND BACKENDS SELECT)
1219 list(APPEND BACKENDS POLL)
1223 list(APPEND BACKENDS KQUEUE)
1227 list(APPEND BACKENDS EVPORT)
1231 list(APPEND BACKENDS DEVPOLL)
1235 list(APPEND BACKENDS WIN32)
1242 foreach(BACKEND ${BACKENDS})
1265 set(TEST_NAME test-dumpevents__${BACKEND_TEST_NAME})
1268 ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/test-dumpevents |
1270 ${CMAKE_CURRENT_SOURCE_DIR}/test/check-dumpevents.py)
1275 … message(WARNING "test-dumpevents will be run without output check since python was not found!")
1276 set(TEST_NAME test-dumpevents__${BACKEND_TEST_NAME}_no_check)
1279 ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/test-dumpevents)
1290 ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/regress --quiet)
1296 ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/regress --quiet)
1304 foreach(BACKEND ${BACKENDS})
1329 set(RL_BIN ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/test-ratelim)
1331 add_test(test-ratelim__group_lim
1333 -g 30000
1334 -n 30
1335 -t 100
1336 --check-grouplimit 1000
1337 --check-stddev 100)
1340 add_test(test-ratelim__con_lim
1342 -c 1000
1343 -n 30
1344 -t 100
1345 --check-connlimit 50
1346 --check-stddev 50)
1349 add_test(test-ratelim__group_con_lim
1351 -c 1000
1352 -g 30000
1353 -n 30
1354 -t 100
1355 --check-grouplimit 1000
1356 --check-connlimit 50
1357 --check-stddev 50)
1360 add_test(test-ratelim__group_con_lim_drain
1362 -c 1000
1363 -g 35000
1364 -n 30
1365 -t 100
1366 -G 500
1367 --check-grouplimit 1000
1368 --check-connlimit 50
1369 --check-stddev 50)
1473 # Generate the config file for the build-tree.
1487 # Generate version info for both build-tree and install-tree.
1509 # Install exports for the install-tree.
1511 install(EXPORT LibeventTargets-${type}
1541 # https://gitlab.kitware.com/cmake/community/wikis/FAQ#can-i-do-make-uninstall-with-cmake
1547 COMMAND ${CMAKE_COMMAND} -P ${PROJECT_BINARY_DIR}/Uninstall.cmake)
1551 message(STATUS " ---( Libevent " ${EVENT_VERSION} " )---")
1553 message(STATUS "Available event backends: ${BACKENDS}")