Installing with CMake

29 views
Skip to first unread message

Tobias Widlund

unread,
Oct 4, 2013, 7:42:52 AM10/4/13
to freet...@googlegroups.com
I noticed that the CMakeList does not have the cabability of installing (so that after doing "cmake .", "make" you can do "make install" to install the library to the CMAKE_INSTALL_PREFIX path). To have this feature is really neat and makes for easy installation and use, and it lets the user control where things are intsalled to. This can be made even better by writing a FindFreetype-gl.cmake module and shipping it with the library so that users can easily integrate it with their libraries.

If you would think this is a good idea, then I could write it myself since I've recently done that for my own library and I can issue a pull request.

What do you think? 

Nicolas Rougier

unread,
Oct 4, 2013, 7:55:53 AM10/4/13
to freet...@googlegroups.com

Well, initially the freetype-gl project was a bunch of files to be embedded in any project that would need to display text.
This of course requires to include the files in your project but then you do not have a third-party dependencies.

The project has grown a little bit since then and having an option to build it as a library might be useful.
Especially if you write the FindFreetype-gl.cmake macro.

And a pull request on github would be great.


Nicolas

Tobias Widlund

unread,
Oct 4, 2013, 8:19:56 AM10/4/13
to freet...@googlegroups.com
Alright!

I will get back to you when it is done.
Reply all
Reply to author
Forward
0 new messages