base project setup. i got a pretty good concept
This commit is contained in:
24
.gitignore
vendored
Normal file
24
.gitignore
vendored
Normal file
@@ -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/**
|
||||
31
CMakeLists.txt
Normal file
31
CMakeLists.txt
Normal file
@@ -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
|
||||
# )
|
||||
|
||||
3
README.md
Normal file
3
README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# Why?
|
||||
|
||||
I didn't find a good email tracker, so i made my own.
|
||||
7
src/main-daemon.cpp
Normal file
7
src/main-daemon.cpp
Normal file
@@ -0,0 +1,7 @@
|
||||
#include <iostream>
|
||||
|
||||
int main() {
|
||||
std::cout << "Hello from MyProject (C++23)\n";
|
||||
return 0;
|
||||
}
|
||||
|
||||
7
src/main-tracker.cpp
Normal file
7
src/main-tracker.cpp
Normal file
@@ -0,0 +1,7 @@
|
||||
#include <iostream>
|
||||
|
||||
int main() {
|
||||
std::cout << "Hello from MyProject (C++23)\n";
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user