From 0d01e09ded07fa3576f85d7222e93cebe5b8ded4 Mon Sep 17 00:00:00 2001 From: Mars Ultor Date: Thu, 23 Oct 2025 19:41:03 -0500 Subject: [PATCH] base project setup. i got a pretty good concept --- .gitignore | 24 ++++++++++++++++++++++++ CMakeLists.txt | 31 +++++++++++++++++++++++++++++++ README.md | 3 +++ src/main-daemon.cpp | 7 +++++++ src/main-tracker.cpp | 7 +++++++ 5 files changed, 72 insertions(+) create mode 100644 .gitignore create mode 100644 CMakeLists.txt create mode 100644 README.md create mode 100644 src/main-daemon.cpp create mode 100644 src/main-tracker.cpp diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6f10a00 --- /dev/null +++ b/.gitignore @@ -0,0 +1,24 @@ +# OS junk +.DS_Store +Thumbs.db + +# Editor settings +.vscode/** +.idea/** +*.swp +*.swo + +# Build system metadata (keep actual build dirs tracked) +CMakeFiles/** +CMakeCache.txt +cmake_install.cmake +Makefile +compile_commands.json + +# Logs and temp files +*.log +*.tmp +*.bak +*.old + +build/** diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..cf1e2bc --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,31 @@ +cmake_minimum_required(VERSION 3.20) +project(email-tracker LANGUAGES CXX) + +set(CMAKE_CXX_STANDARD 23) +set(CMAKE_CXX_STANDARD_REQUIRED ON) +set(CMAKE_EXPORT_COMPILE_COMMANDS ON) + +# Uncomment these when you add submodules +# add_subdirectory(external/some-lib) +# add_subdirectory(external/another-lib) + +add_executable(${PROJECT_NAME}-client + src/main-tracker.cpp +) + +add_executable(${PROJECT_NAME}-daemon + src/main-daemon.cpp +) + +# Link submodules (uncomment as needed) +# target_link_libraries(${PROJECT_NAME} +# PRIVATE +# some-lib +# another-lib +# ) + +# target_include_directories(${PROJECT_NAME} +# PRIVATE +# external/some-lib/include +# ) + diff --git a/README.md b/README.md new file mode 100644 index 0000000..cac7a91 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# Why? + +I didn't find a good email tracker, so i made my own. diff --git a/src/main-daemon.cpp b/src/main-daemon.cpp new file mode 100644 index 0000000..1781cf9 --- /dev/null +++ b/src/main-daemon.cpp @@ -0,0 +1,7 @@ +#include + +int main() { + std::cout << "Hello from MyProject (C++23)\n"; + return 0; +} + diff --git a/src/main-tracker.cpp b/src/main-tracker.cpp new file mode 100644 index 0000000..1781cf9 --- /dev/null +++ b/src/main-tracker.cpp @@ -0,0 +1,7 @@ +#include + +int main() { + std::cout << "Hello from MyProject (C++23)\n"; + return 0; +} +