![]() ![]() ![]() Once those packages are installed, don't forget to install their development headers as well. The exact name of the packages may vary from distribution to distribution. SFML relies on you to install all of its dependencies on your own. On Windows and Mac OS X, all the required dependencies are provided alongside SFML so you won't have to download/install anything else. ![]() SFML depends on a few other libraries, so before starting to configure you must have their development files installed. Your toolchain using that build configuration. You can read more about CMake on itsĪs you might expect, this tutorial is divided into two main sections: Generating the build configuration with CMake, and building SFML with It is similar to autoconf/automake or premake for those who are already familiar with these tools.ĬMake is used by many projects including well-known ones such as Blender, Boost, KDE, and Ogre. In fact it can generate the makefiles or projects for any operating system and compiler of Instead of building SFML, it builds what builds SFML: Visual Studio solutions,Ĭode::Blocks projects, Linux makefiles, XCode projects, etc. You will not compile SFML with CMake, because CMake is notĬMake is an open-source meta build system. Compiling SFML with CMake IntroductionĪdmittedly, the title of this tutorial is a bit misleading. Click here to switch to the latest version. Warning: this page refers to an old version of SFML.
0 Comments
Leave a Reply. |