diff --git a/README.md b/README.md index bf0a460..109cab2 100644 --- a/README.md +++ b/README.md @@ -18,10 +18,9 @@ joomer-efsw-file-monitoring learndir/ └── joomer-efsw-file-monitoring/ └── efsw - ``` -## Ubuntu Linux (kasm-ubuntu) +## Ubuntu Linux ``` mkdir learndir cd learndir @@ -33,38 +32,39 @@ 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 +make all -j4 mkdir bin/Linux/release/test bin/Linux/release/joomer-efsw-file-monitoring ``` -## Windows (win10 enterprise) -- Download Visual Studio Community Edition 2022 +## Windows +- Download Visual Studio Community Edition - Run VisualStudioSetup.exe -- Workload = [x] Desktop developemnt with C++ -- Individial components = [x] Git For Windows +- Workload = [x] Desktop development with C++ +- Individual components = [x] Git For Windows -Run **x64 Native Tools Command Prompt for VS 2022** +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 -premake5 vs2022 -cd make/windows -msbuild joomer-efsw-file-monitoring.vcxproj /t:Build /p:Configuration=Debug /p:Platform=x64 -cd ../.. -cd bin -mkdir test -joomer-efsw-file-monitoring.exe -``` - -For a prototype app we can just dump the stb headers right into the joomer-efsw-file-monitoring/src dir for simplicity -``` +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 -make all -j4 +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 ``` + diff --git a/joomer-efsw-file-monitoring.vcxproj b/joomer-efsw-file-monitoring.vcxproj new file mode 100644 index 0000000..aa39918 --- /dev/null +++ b/joomer-efsw-file-monitoring.vcxproj @@ -0,0 +1,92 @@ + + + + + PseudoDebug + x64 + + + Release + x64 + + + + 16.0 + Win32Proj + {7AEA0690-36B7-4596-9DEE-C3AB3C11D282} + + + + Application + false + Unicode + + + Application + false + Unicode + + + + + + + + + + + + + + + + MultiThreadedDLL + false + PSEUDODEBUG;_CONSOLE;DL_USE_SHARED;%(PreprocessorDefinitions) + Disabled + Disabled + ..\efsw\include;..\efsw\src + + + Console + true + lib;..\efsw\build\Debug + efsw-static.lib;%(AdditionalDependencies) + + + + + MultiThreadedDLL + true + true + false + NDEBUG;_CONSOLE;DL_USE_SHARED;%(PreprocessorDefinitions) + ..\efsw\include;..\efsw\src + + + Console + true + true + true + lib;..\efsw\build\Release + efsw-static.lib;%(AdditionalDependencies) + + + + + TurnOffAllWarnings + false + _ALLOW_COMPILER_AND_STL_VERSION_MISMATCH;%(PreprocessorDefinitions) + NoIPO + + + false + + + + + + + + +