SFML community forums

Help => General => Topic started by: ChayHawk on May 20, 2022, 07:59:30 pm

Title: How to set SFML up for VS and not per project
Post by: ChayHawk on May 20, 2022, 07:59:30 pm
So when i want to create an SFML project, I have to setup all the locations of the files and modules and its a pain because I like creating a lot of different projects to test things out and learn so for example I will make an SFML project where i just play around with time and getting familiar with SFML's time interface, and maybe another where i practice with loading textures and fonts etc, I dont want to have to keep creating projects and setting all this up each time, is there a way I can set it up once and then when i create a project i can just start using SFML right away? I could have sworn that this feature was available in an older VS but maybe im thinking of code blocks. any help would be appreciated. I'm using VS 2022 btw.
Title: Re: How to set SFML up for VS and not per project
Post by: G. on May 21, 2022, 06:39:00 pm
Don't know about 2022 but in Visual Studio 2019, I created a base SFML project and then I chose "Export template" from "Project" in the main menu.
Afterwards when I create a new project I can chose to use this as a template.
Title: Re: How to set SFML up for VS and not per project
Post by: ChayHawk on May 22, 2022, 05:46:05 am
That worked! thank you so much  :D