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

Author Topic: saving configuration for the libraries  (Read 1656 times)

0 Members and 1 Guest are viewing this topic.

shayan-sa

  • Newbie
  • *
  • Posts: 8
    • View Profile
    • Email
saving configuration for the libraries
« on: February 08, 2016, 01:31:46 pm »
I have managed to setup the sfml , and it is now working , I am using visual studio 2013, the question is , is there a way to get rid of including the library , each time I open a new project?? as I am using training samples , I may put each of them in a new project , so doing all the steps of set up again , is very annoying ! is there any way to save configuration a project and export it to another ? is there a short way?

Satus

  • Guest
Re: saving configuration for the libraries
« Reply #1 on: February 08, 2016, 01:36:23 pm »
Create a template project and create a copy every time you want to start a new project.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: saving configuration for the libraries
« Reply #2 on: February 08, 2016, 02:19:45 pm »
It takes no more than 30 seconds to add the SFML include path, library path and libraries to your project. You'll spend much more time developing the project itself, even if it's just tutorials. And why don't you reuse the same project anyway?
Laurent Gomila - SFML developer

hobby

  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: saving configuration for the libraries
« Reply #3 on: February 08, 2016, 09:23:58 pm »
You can create a property sheet (.props) file with the shared settings in the VS IDE, then add it to individual projects using the Property Manager.
From MSDN, section "Sharing reusable property configurations":
Quote
If you have a common, frequently used set of properties that you want to apply to multiple projects, you can use Property Manager to capture them in a reusable property sheet file, which by convention has a .props file name extension. You can apply the sheet (or sheets) to new projects so that you don't have to set its properties from scratch.
[...]

Hapax

  • Hero Member
  • *****
  • Posts: 3351
  • My number of posts is shown in hexadecimal.
    • View Profile
    • Links
Re: saving configuration for the libraries
« Reply #4 on: February 09, 2016, 02:37:00 am »
property sheet (.props) file
I've taken to using this method a lot in the previous few months.
Selba Ward -SFML drawables
Cheese Map -Drawable Layered Tile Map
Kairos -Timing Library
Grambol
 *Hapaxia Links*

 

anything