c-lings / clings

Equivalent of rustlings for C
5 stars 0 forks source link

Starting the project is hard for a beginner #4

Open ohmushi opened 7 months ago

ohmushi commented 7 months ago

Currently, the project use vcpck as depency manager, and the project requires it. The beginner should be able to build and run all the project with only one command and find it easily in the README.

I think we should have a script which install the dependency manager if not already installed, install the dependencies, build and run the project.

TheRealHoko commented 7 months ago

Yes, a nice detail to take into account in this issue would be to be careful to have an isolated environment for the dependencies. For example a client would have cmake v2.x and right now the latest version of cmake is enforced.

ohmushi commented 7 months ago

You're right, we should lower the cmake_minimum_required to the actual non breaking minimum version.

Trevodorax commented 7 months ago

Sounds good to me, the script should be fairly fast to do for Unix, but will be trickier to make one that is cross-platform

ohmushi commented 2 months ago

There are several problems for a beginner to start with clings :

To make things easier, we must create scripts or an other thing that can run stuffs to :

The problem with scripts is that they are os dependent. So we have to duplicate (bash/ powershell/ others like nix I guess)