Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: How to set SFML up for VS and not per project  (Read 1456 times)

0 Members and 1 Guest are viewing this topic.

ChayHawk

  • Newbie
  • *
  • Posts: 10
    • View Profile
    • Email
How to set SFML up for VS and not per project
« 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.

G.

  • Hero Member
  • *****
  • Posts: 1593
    • View Profile
Re: How to set SFML up for VS and not per project
« Reply #1 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.

ChayHawk

  • Newbie
  • *
  • Posts: 10
    • View Profile
    • Email
Re: How to set SFML up for VS and not per project
« Reply #2 on: May 22, 2022, 05:46:05 am »
That worked! thank you so much  :D

 

anything