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

Author Topic: Tutorial CMake  (Read 9102 times)

0 Members and 1 Guest are viewing this topic.

Beuc

  • Newbie
  • *
  • Posts: 5
    • View Profile
Tutorial CMake
« on: November 04, 2011, 08:32:08 pm »
Hi,

I wrote a tutorial on the wiki about how to start a SFML project using CMake for the build system:
https://github.com/SFML/SFML/wiki/TutorialCMake

(Note: it's not about how to build SFML, but how to build your own project that uses SFML)

I'm new to both so I'd like to know if you think my explanations are right / complete :)

firefly2442

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: Tutorial CMake
« Reply #1 on: November 01, 2012, 02:42:55 am »
I updated this tutorial for SFML version 2.  I updated the example code that was used, changed CMake so it looks for version 2.X, and added some notes about specifying the library and include directories if CMake cannot find them (if they're not installed to a standard place for  example).  I think I tested almost everything but if you find something, please correct it. :)

Mario

  • SFML Team
  • Hero Member
  • *****
  • Posts: 879
    • View Profile
Re: Tutorial CMake
« Reply #2 on: November 05, 2012, 01:36:59 am »
Seems like your link is outdated (page moved or renamed without a redirect?): https://github.com/SFML/SFML/wiki/Tutorial:-Build-your-SFML-project-with-CMake

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: Tutorial CMake
« Reply #3 on: November 05, 2012, 01:40:51 am »
Seems like your link is outdated (page moved or renamed without a redirect?)
See here and here. ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/