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

Author Topic: Determine SFML version  (Read 12008 times)

0 Members and 1 Guest are viewing this topic.

tmac

  • Guest
Determine SFML version
« on: November 21, 2012, 11:47:37 pm »
Hi!

Is the SFML version number written somewhere in the header files?

I have some SFML headers and library files installed on my system, and I would like to determine the SFML version number.

Thanks!
Torquil Sørensen

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Re: Determine SFML version
« Reply #1 on: November 21, 2012, 11:53:17 pm »
Yes, in <SFML/Config.hpp>.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Determine SFML version
« Reply #2 on: November 22, 2012, 07:58:28 am »
In SFML 2 only. There's no version number in SFML 1 headers.
Laurent Gomila - SFML developer

 

anything