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

Author Topic: Request: Getting started tutorial SFML and CLion  (Read 7442 times)

0 Members and 1 Guest are viewing this topic.

mucaho

  • Newbie
  • *
  • Posts: 1
    • View Profile
Request: Getting started tutorial SFML and CLion
« on: October 30, 2015, 10:02:12 pm »
JetBrains CLion https://www.jetbrains.com/clion/ uses cmake for projects.

There is already a great tutorial on the wiki covering almost everything https://github.com/SFML/SFML/wiki/Tutorial%3A-Build-your-SFML-project-with-CMake.
« Last Edit: October 30, 2015, 10:40:22 pm by mucaho »

Serapth

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Re: Request: Getting started tutorial SFML and CLion
« Reply #1 on: November 10, 2015, 10:42:02 pm »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Request: Getting started tutorial SFML and CLion
« Reply #2 on: November 11, 2015, 01:40:09 pm »
I actually think providing a tutorial on how to use SFML through CMake might be a good idea. Most of it is essentially already documented in the FindSFML.cmake file, but it's not that obvious to look there first.

Once you know how to setup your own basic CMake project, using CLion will be really easy and just a matter of getting used to some UI elements, so I don't think we need a tutorial for that specifically.

What do others think?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

SeriousITGuy

  • Full Member
  • ***
  • Posts: 123
  • Still learning...
    • View Profile
Re: Request: Getting started tutorial SFML and CLion
« Reply #3 on: November 11, 2015, 01:47:56 pm »
I would really like to see a dedicated cmake+SFML tutorial, cause I still can't get my head around using cmake in my own projects, though I can compile premade cmake projects (like SFML itself). Things like out-of-source build, include directories, sub-directories come to my mind. The cmake documentation itself was not very helpful, so real-life examples would be awesome.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: Request: Getting started tutorial SFML and CLion
« Reply #4 on: November 11, 2015, 02:01:15 pm »
Keep in mind though that it won't be a full on CMake tutorial, but will mostly just show how one can use the FindSFML.cmake file. So don't think you would be able to learn CMake just with that tutorial - if we decide to write it. ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/