<commit_before>##
## Author(s):
##  - <NAME>      <<EMAIL>>
##  - <NAME>       <<EMAIL>>
##
## Copyright (C) 2009, 2010 Aldebaran Robotics
##

project (QiGateway)

qi_create_bin(qi-gateway
  qigateway.cpp
  gateway.cpp gateway.hpp
  master.cpp master.hpp
  daemon.cpp daemon.h
  DEPENDS
    QI
    QIMESSAGING
    BOOST_PROGRAM_OPTIONS
)

target_link_libraries(qi-gateway event_core)<commit_msg>Modify QiGateway CMakeLists.txt to compile only if libevent is present<commit_after>##
## Author(s):
##  - <NAME>      <<EMAIL>>
##  - <NAME>       <<EMAIL>>
##
## Copyright (C) 2009, 2010 Aldebaran Robotics
##

project (QiGateway)

qi_add_optional_package(LIBEVENT)

if (WITH_LIBEVENT)
  qi_create_bin(qi-gateway
    qigateway.cpp
    gateway.cpp gateway.hpp
    master.cpp master.hpp
    daemon.cpp daemon.h
    DEPENDS
      QI
      QIMESSAGING
      BOOST_PROGRAM_OPTIONS
      LIBEVENT
  )
endif ()
{'fraction_non_alphanumeric': 0.12013348164627363, 'fraction_numerical': 0.017797552836484983, 'mean_word_length': 3.2857142857142856, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5206339', 'n_tokens_mistral': 373, 'n_tokens_neox': 339, 'n_words': 67}