SFML community forums

General => Feature requests => Topic started by: Paul on June 18, 2020, 01:09:51 am

Title: Use premake instead of cmake
Post by: Paul on June 18, 2020, 01:09:51 am
SFML compilation is not user friendly with current rocket scientist manual. Isn't possible to use premake for example instead of CMake for future versions? It's simple, readable, easily configurable, no problems with project structure, dependency or multiple projects in solution etc.

It should be 2 bulletproof tasks:
1) Download SFML repository (premake binary can be included there) with all needed 3rd party repositories by single command
2) Generate project/solution/whatever via batch file (or by equivalent script)
Title: Re: Use premake instead of cmake
Post by: eXpl0it3r on June 18, 2020, 01:22:40 am
CMake is still the defacto standard for build system in the C++ library world, it's not perfect, but neither is any other tooling.
Using CMake does really full-fill your "bulletproof tasks"

1) Download SFML repository
2) Run cmake . && cmake --build . --target INSTALL or similar depending on the system in use

"I don't understand tool X so let's use tool Y instead" will cause you to waste a lot more time, than to invest some of that time into learning tool X. ;)

For the future, please don't try to hijack other threads with unrelated topics.