CMakeLists.txt 571 B

1234567891011121314151617181920
  1. include_directories(
  2. ${LIBRABBITMQ_INCLUDE_DIRS}
  3. ${CMAKE_CURRENT_BINARY_DIR}/../librabbitmq/
  4. ${CMAKE_CURRENT_SOURCE_DIR}/../librabbitmq/)
  5. add_definitions(-DHAVE_CONFIG_H)
  6. add_definitions(-DAMQP_STATIC)
  7. SET(CMAKE_EXE_LINKER_FLAGS "${LIB_FUZZING_ENGINE}")
  8. if(BUILD_OSSFUZZ)
  9. add_executable(fuzz_url fuzz_url.c)
  10. target_link_libraries(fuzz_url rabbitmq-static)
  11. add_executable(fuzz_table fuzz_table.c)
  12. target_link_libraries(fuzz_table rabbitmq-static)
  13. add_executable(fuzz_server fuzz_server.c)
  14. target_link_libraries(fuzz_server rabbitmq-static)
  15. endif ()