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

Author Topic: Configuring SFML and EnTT with Conan package manager  (Read 2121 times)

0 Members and 1 Guest are viewing this topic.

Leinnan

  • Newbie
  • *
  • Posts: 10
    • View Profile
Configuring SFML and EnTT with Conan package manager
« on: January 12, 2019, 05:31:26 pm »
I've created tutorial about configuring environment  for development using SFML and EnTT libraries. If anyone have time and wish to check whether it works on Windows I would be greatful. Also pointing out any mistakes  :D
https://leinnan.github.io/blog/conan-adventuressfml-and-entt-in-c.html

Elias Daler

  • Hero Member
  • *****
  • Posts: 570
    • View Profile
    • Blog
    • Email
Re: Configuring SFML and EnTT with Conan package manager
« Reply #1 on: January 17, 2019, 11:31:44 pm »
It's pretty nice!

The only things I'd change is

add_definitions("-std=c++17")

to

set(CMAKE_CXX_STANDARD 17)

it's more portable across the compilers.

P. S. Maybe linking to ${CONAN_LIBS} is a bit too much... I'd recommend to show how to only link to specific parts of SFML (to not drag network module, for example)
Tomb Painter, Re:creation dev | eliasdaler.github.io | @EliasDaler | Tomb Painter dev log

Leinnan

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Configuring SFML and EnTT with Conan package manager
« Reply #2 on: January 17, 2019, 11:49:42 pm »
Sounds like reasonable addition to article, added.