Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
General
»
Feature requests
»
Auto linking in Visual Studio
Print
Pages: [
1
]
Author
Topic: Auto linking in Visual Studio (Read 5606 times)
0 Members and 1 Guest are viewing this topic.
blindley
Newbie
Posts: 12
Auto linking in Visual Studio
«
on:
December 16, 2011, 09:25:29 pm »
Visual Studio allows you to set up linker options through preprocessor directives. You can link to libraries like this:
#pragma comment( lib, "sfml-window.lib" )
Boost uses it, and it makes development much easier, especially when doing small projects just for testing something out. Will this feature be considered for SFML?
http://msdn.microsoft.com/en-us/library/7f0aews7.aspx
Logged
Laurent
Administrator
Hero Member
Posts: 32498
Auto linking in Visual Studio
«
Reply #1 on:
December 16, 2011, 11:36:55 pm »
Nop.
Boost uses it because they have complicated libraries names that nobody can remember.
But for "regular" libraries I don't consider this to be a good practice.
Logged
Laurent Gomila - SFML developer
Print
Pages: [
1
]
SFML community forums
»
General
»
Feature requests
»
Auto linking in Visual Studio