I had some issues with the included Visual Studio solution. It was not finding "Windows.h" directly when opened on my system. Re-targeting the windows SDK was necessary, but then it stopped to work again 🤷♂️.
CMake is able to generate a Visual Studio solution that is specific to the user's installation of Visual Studio and of the Windows SDK. It is much more flexible.
This PR just adds a CMakeLists.txt file in the root directory that permits to build blink.exe via CMake. This also facilitate automating the build of the project (can just script 2 lines of bash that does CMake -G"Visual Studio 15 2017 win64" . and "CMake --build ." (useful for like, Continuous Integration... 😄 )
I had some issues with the included Visual Studio solution. It was not finding "Windows.h" directly when opened on my system. Re-targeting the windows SDK was necessary, but then it stopped to work again 🤷♂️.
CMake is able to generate a Visual Studio solution that is specific to the user's installation of Visual Studio and of the Windows SDK. It is much more flexible.
This PR just adds a CMakeLists.txt file in the root directory that permits to build blink.exe via CMake. This also facilitate automating the build of the project (can just script 2 lines of bash that does CMake -G"Visual Studio 15 2017 win64" . and "CMake --build ." (useful for like, Continuous Integration... 😄 )