draconisplusplus/subprojects/quill-4.2.0/examples/CMakeLists.txt

75 lines
3.6 KiB
CMake
Raw Normal View History

2024-06-02 06:03:21 -04:00
add_subdirectory(recommended_usage)
add_subdirectory(advanced)
add_executable(quill_example_backend_thread_notify backend_thread_notify.cpp)
set_common_compile_options(quill_example_backend_thread_notify)
target_link_libraries(quill_example_backend_thread_notify quill)
add_executable(quill_example_backtrace_logging backtrace_logging.cpp)
set_common_compile_options(quill_example_backtrace_logging)
target_link_libraries(quill_example_backtrace_logging quill)
add_executable(quill_example_bounded_dropping_queue_frontend bounded_dropping_queue_frontend.cpp)
set_common_compile_options(quill_example_bounded_dropping_queue_frontend)
target_link_libraries(quill_example_bounded_dropping_queue_frontend quill)
add_executable(quill_example_console_logging console_logging.cpp)
set_common_compile_options(quill_example_console_logging)
target_link_libraries(quill_example_console_logging quill)
add_executable(quill_example_custom_console_colours custom_console_colours.cpp)
set_common_compile_options(quill_example_custom_console_colours)
target_link_libraries(quill_example_custom_console_colours quill)
add_executable(quill_example_rotating_file_logging rotating_file_logging.cpp)
set_common_compile_options(quill_example_rotating_file_logging)
target_link_libraries(quill_example_rotating_file_logging quill)
add_executable(quill_example_signal_handler signal_handler.cpp)
set_common_compile_options(quill_example_signal_handler)
target_link_libraries(quill_example_signal_handler quill)
add_executable(quill_example_logger_removal_with_file_event_notifier logger_removal_with_file_event_notifier.cpp)
set_common_compile_options(quill_example_logger_removal_with_file_event_notifier)
target_link_libraries(quill_example_logger_removal_with_file_event_notifier quill)
add_executable(quill_example_custom_frontend_options custom_frontend_options.cpp)
set_common_compile_options(quill_example_custom_frontend_options)
target_link_libraries(quill_example_custom_frontend_options quill)
add_executable(quill_example_file_logging file_logging.cpp)
set_common_compile_options(quill_example_file_logging)
target_link_libraries(quill_example_file_logging quill)
add_executable(quill_example_filter_logging filter_logging.cpp)
set_common_compile_options(quill_example_filter_logging)
target_link_libraries(quill_example_filter_logging quill)
add_executable(quill_example_system_clock_logging system_clock_logging.cpp)
set_common_compile_options(quill_example_system_clock_logging)
target_link_libraries(quill_example_system_clock_logging quill)
add_executable(quill_example_user_clock_source user_clock_source.cpp)
set_common_compile_options(quill_example_user_clock_source)
target_link_libraries(quill_example_user_clock_source quill)
add_executable(quill_example_user_defined_filter user_defined_filter.cpp)
set_common_compile_options(quill_example_user_defined_filter)
target_link_libraries(quill_example_user_defined_filter quill)
add_executable(quill_example_user_defined_sink user_defined_sink.cpp)
set_common_compile_options(quill_example_user_defined_sink)
target_link_libraries(quill_example_user_defined_sink quill)
add_executable(quill_example_tags_logging tags_logging.cpp)
set_common_compile_options(quill_example_tags_logging)
target_link_libraries(quill_example_tags_logging quill)
add_executable(quill_example_json_sink_logging json_sink_logging.cpp)
set_common_compile_options(quill_example_json_sink_logging)
target_link_libraries(quill_example_json_sink_logging quill)
add_executable(quill_example_user_defined_types_logging user_defined_types_logging.cpp)
set_common_compile_options(quill_example_user_defined_types_logging)
target_link_libraries(quill_example_user_defined_types_logging quill)