MantisBT - CMake
View Issue Details
0014126CMakeModulespublic2013-05-02 14:242013-10-07 10:09
Sylvain Boilard 
 
normalfeatureN/A
closedno change required 
LinuxDebian GNU/Linux7.0 Wheezy
CMake 2.8.9 
 
0014126: Please package cmake scripts for SFML and CSFML.
Hello,

Please consider packaging a FindSFML.cmake and FindCSFML.cmake script
for easily using SFML and CSFML with cmake.

The upstream developer Laurent Gomila already maintains such a script,
which can be found at:

https://raw.github.com/LaurentGomila/SFML/master/cmake/Modules/FindSFML.cmake [^]

This file has no explicit copyright notice, but its license is probably
the zlib license, like the remaining of the project. It can be adapted
for CSFML by replacing every occurrence of "sfml" with "csfml" and every
occurrence of "hpp" with "h", for lower and upper cases, except for the
sfml-main component where the upstream developer's advice might be needed.

The upstream developer can be contacted at the address
laurent <DOT> gom <AT> gmail <DOT> com .

Regards,

--
Sylvain Boilard
No tags attached.
Issue History
2013-05-02 14:24Sylvain BoilardNew Issue
2013-05-02 14:31Brad KingNote Added: 0032969
2013-05-02 14:31Brad KingStatusnew => resolved
2013-05-02 14:31Brad KingResolutionopen => no change required
2013-10-07 10:09Robert MaynardNote Added: 0034042
2013-10-07 10:09Robert MaynardStatusresolved => closed

Notes
(0032969)
Brad King   
2013-05-02 14:31   
Those projects build with CMake so they should provide package configuration files (SFMLConfig.cmake). Then find_package(SFML) can find it without any find module and will ask the user only to set a single SFML_DIR variable. See tutorials here:

 http://www.cmake.org/Wiki/CMake/Tutorials#CMake_Packages [^]

Please ask on the mailing list if you have further questions about it.
(0034042)
Robert Maynard   
2013-10-07 10:09   
Closing resolved issues that have not been updated in more than 4 months.