From 40b986dd0b4eb3f04e6767ab4ef464091b41d72f Mon Sep 17 00:00:00 2001 From: Jason Ly Date: Sun, 1 Mar 2026 19:55:45 -0500 Subject: [PATCH] README --- README.md | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..d55380a --- /dev/null +++ b/README.md @@ -0,0 +1,68 @@ +# joomer-efsw-file-monitoring +Watch folder for images and flip them + +# Demonstrates +- file monitoring + +# Usage + +``` +joomer-efsw-file-monitoring +- drag and drop files into the test folder +``` + +[todo] + +# Build +``` +learndir/ +└── joomer-efsw-file-monitoring/ +└── efsw +``` + +## Ubuntu Linux +``` +mkdir learndir +cd learndir +git clone https://github.com/SpartanJ/efsw.git +mkdir -p efsw/build +cd efsw/build +cmake .. +make -j4 +cd ../.. +git clone https://git.indoodle.com/jason/joomer-efsw-file-monitoring.git +cd joomer-efsw-file-monitoring +git switch ProposedCleanup +wget https://raw.githubusercontent.com/nothings/stb/master/stb_image.h +wget https://raw.githubusercontent.com/nothings/stb/master/stb_image_write.h +make all -j4 +mkdir bin/Linux/release/test +bin/Linux/release/joomer-efsw-file-monitoring +``` + +## Windows +- Download Visual Studio Community Edition +- Run VisualStudioSetup.exe +- Workload = [x] Desktop development with C++ +- Individual components = [x] Git For Windows + +Run **x64 Native Tools Command Prompt for VS** +``` +mkdir learndir +cd learndir +git clone https://github.com/SpartanJ/efsw.git +cd efsw +mkdir build +cd build +cmake .. +msbuild efsw.sln /p:Configuration=Release +cd .. +git clone https://git.indoodle.com/jason/joomer-efsw-file-monitoring.git +cd joomer-efsw-file-monitoring +curl -LO https://raw.githubusercontent.com/nothings/stb/master/stb_image.h +curl -LO https://raw.githubusercontent.com/nothings/stb/master/stb_image_write.h +msbuild joomer-efsw-file-monitoring.vcxproj /p:Configuration=release +mkdir -p x64\release\test +x64\release\joomer-efsw-file-monitoring.exe +``` +