SFML

closed account (jw6XoG1T)
So do i need to link SFML to VC++ 2010 every time i make a new project or is there a way that i can link it once and not have to worry about it ever again?
you'd need to do it for each project, but why not make a template project which is linked to SFML, then copy and paste and rename it every time you want a new one
closed account (jw6XoG1T)
thats what i was thinking too....but that sucks you have to do it everytime -____-
If you're using VS, you can make your own header that has something like this:

1
2
3
#include <SFML/whateveryouwant.hpp> // etc

#pragma comment(lib,"sfml-libs.lib") // put these in for each lib 


Then #include that instead of the usual SFML headers.

The #pragma lines will link to SFML automatically.
Topic archived. No new replies allowed.