# 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 /p:Platform=x64 cd .. git clone https://git.indoodle.com/jason/joomer-efsw-file-monitoring.git cd joomer-efsw-file-monitoring git switch ProposedCleanup 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 /p:Platform=x64 /p:PlatformToolset=v145 mkdir -p x64\release\test x64\release\joomer-efsw-file-monitoring.exe ```