In this video, I'm showing how you can configure your Visual Studio CMake Project to make it possible to load resources from a relative path.
I prefer working with C++ and SFML this way, when I use Visual Studio.
Using a CMake project can make it easier to do cross platform development, where you might not use Visual Studio as you IDE on all the platforms.
Personally I also find it easier to get an overview of the project configurations, linked libraries etc. when I can specify them in a file instead of in the usual Visual Studio menus.
Please remember to like the video and subscribe to my channel, if you liked the video and want more like it :)
-----------------------------------------------------------------------------------------------------------------------------------------------------------
Facebook: / makertechdk
Youtube channel: / @makertech
Instagram: / makertech_dk
Twitter: / makertech_dk
-----------------------------------------------------------------------------------------------------------------------------------------------------------
Loading resources from a relative path in a Visual Studio CMake Project | SFML Tutorial | gamedev: • Loading resources from a relative pat...
#gamedev #sfml #cpp