CMakeLists.txt 1.6 KB

12345678910111213141516171819202122232425262728293031
  1. add_executable (original_example "original_example.cpp" )
  2. target_link_libraries(original_example prometheus-cpp-lite-core)
  3. add_executable (modern_example "modern_example.cpp" )
  4. target_link_libraries(modern_example prometheus-cpp-lite-core)
  5. add_executable (use_counters_in_class_example "use_counters_in_class_example.cpp" )
  6. target_link_libraries(use_counters_in_class_example prometheus-cpp-lite-core)
  7. add_executable (use_gauge_in_class_example "use_gauge_in_class_example.cpp" )
  8. target_link_libraries(use_gauge_in_class_example prometheus-cpp-lite-core)
  9. add_executable (use_benchmark_in_class_example "use_benchmark_in_class_example.cpp" )
  10. target_link_libraries(use_benchmark_in_class_example prometheus-cpp-lite-core)
  11. add_executable (save_to_file_example "save_to_file_example.cpp" )
  12. target_link_libraries(save_to_file_example prometheus-cpp-lite-core)
  13. add_executable (push_to_server_example "push_to_server_example.cpp" )
  14. target_link_libraries(push_to_server_example prometheus-cpp-lite-core)
  15. add_executable (gateway_example "gateway_example.cpp" )
  16. target_link_libraries(gateway_example prometheus-cpp-lite-core)
  17. add_executable (simpleapi_example "simpleapi_example.cpp")
  18. target_link_libraries(simpleapi_example prometheus-cpp-simpleapi)
  19. add_executable (simpleapi_use_in_class_example "simpleapi_use_in_class_example.cpp")
  20. target_link_libraries(simpleapi_use_in_class_example prometheus-cpp-simpleapi)