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

Author Topic: Auto linking in Visual Studio  (Read 5604 times)

0 Members and 1 Guest are viewing this topic.

blindley

  • Newbie
  • *
  • Posts: 12
    • View Profile
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

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
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.
Laurent Gomila - SFML developer

 

anything