From 885e278f9685e5cc721669dac9a16c889a21def5 Mon Sep 17 00:00:00 2001 From: Selim Mustafaev Date: Sun, 31 Dec 2023 13:19:44 +0300 Subject: [PATCH] Initial commit --- .gitignore | 3 +++ CMakeLists.txt | 9 +++++++++ main.cpp | 6 ++++++ 3 files changed, 18 insertions(+) create mode 100644 .gitignore create mode 100644 CMakeLists.txt create mode 100644 main.cpp diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9687e87 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.idea/ +cmake-build*/ + diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..8ffc8ec --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,9 @@ +cmake_minimum_required(VERSION 3.28) +project(aliencat_exporter) + +set(CMAKE_CXX_STANDARD 20) + +find_package(prometheus-cpp CONFIG REQUIRED) + +add_executable(aliencat_exporter main.cpp) +target_link_libraries(aliencat_exporter PRIVATE prometheus-cpp::pull) diff --git a/main.cpp b/main.cpp new file mode 100644 index 0000000..bc8f460 --- /dev/null +++ b/main.cpp @@ -0,0 +1,6 @@ +#include + +int main() { + std::cout << "Hello, World!" << std::endl; + return 0; +}