SFML community forums

Help => General => Topic started by: mrdouble on January 07, 2025, 06:56:31 am

Title: How to make a VS template
Post by: mrdouble on January 07, 2025, 06:56:31 am
I think I've followed the tutorial instructions but I just cant do anything with it once build it for VS, not to mention it throws an error. From my reading, the "SFML with the CMake Project Template" just creates a SLN file so I dont have to set the include, lib and bins directories, correct?

It works just fine when I just download the VS version and manually supply all the directories..

(http://)

Title: Re: How to make a VS template
Post by: eXpl0it3r on January 07, 2025, 09:40:39 am
If you use the CMake template, it's recommended that you open the project as "open folder" option, this way you use Visual Studio's native CMake support and it will regenerate automatically when you change the CMake script.

You can, if you want, still generate a VS solution with CMake itself and use that.
Then you just need to rerun CMake manually when you add a new file.

From my reading, the "SFML with the CMake Project Template" just creates a SLN file so I dont have to set the include, lib and bins directories, correct?
I don't quite understand your question here.
Title: Re: How to make a VS template
Post by: mrdouble on January 07, 2025, 09:38:42 pm
Thanks for your reply.I'm getting confused by the CMake process. I guess ill just set it up manually