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

Author Topic: SFML at C++ Archive Network  (Read 2728 times)

0 Members and 1 Guest are viewing this topic.

egorpugin

  • Newbie
  • *
  • Posts: 3
    • View Profile
SFML at C++ Archive Network
« on: September 13, 2016, 08:54:54 pm »
Hi,

I'm developing C++ dependency (package) manager: C++ Archive Network (CPPAN) - https://cppan.org/
I've added SFML there: https://cppan.org/search?q=sfml
https://cppan.org/pvt.cppan.demo.sfml.graphics/version/2.4.0
With CPPAN you can very easily add dependencies to your projects and even write one-file projects (like scripts) without separate build system configs.

An example of usage SFML+CPPAN can be found in this video:

Briefly, download CPPAN client, put it to PATH, run 'cppan --build myfile.cpp'.
To include CPPAN deps into your CMake project, check out cppan docs.

dabbertorres

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
    • website/blog
Re: SFML at C++ Archive Network
« Reply #1 on: September 13, 2016, 10:50:29 pm »
Cool stuff! Though, you may want to consider an acronym change. CPAN is a thing.

Different, but close enough to potentially looking like a typo. Just my two cents!

Maybe CXXAN?
« Last Edit: September 13, 2016, 10:52:16 pm by dabbertorres »

egorpugin

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: SFML at C++ Archive Network
« Reply #2 on: September 13, 2016, 10:52:47 pm »
Maybe, but... the name was taken to follow CPAN, CRAN, CTAN :)

Mario

  • SFML Team
  • Hero Member
  • *****
  • Posts: 879
    • View Profile
Re: SFML at C++ Archive Network
« Reply #3 on: September 14, 2016, 08:38:10 pm »
Neat idea. Haven't had a too close look at it, but is it able to cache/build locally into some configured location, essentially "installing" dependencies to be reused? Or is the cache just somewhere in temp and temporarily?

egorpugin

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: SFML at C++ Archive Network
« Reply #4 on: September 14, 2016, 08:42:18 pm »
Fully configurable and fully cached.

Also on the roadmap ability to download precompiled binaries (e.g. from bintray.com) in case you would not like to wait the compilation of all dependencies. Of course with maximum possible security.
But this is the topic of next 3-6 months.

 

anything