floooh / pacman.c

Simple Pacman clone written in C99.
MIT License
496 stars 44 forks source link

Instructions for Linux lack something #5

Closed mulle-nat closed 2 years ago

mulle-nat commented 2 years ago

I also needed libasound2-dev.

Also what's the difference between ( cd build ; cmake .. ) and cmake --build . ? One seems superflous.

Otherwise, very nice :) 👍

floooh commented 2 years ago

Ah thanks, I'll update the build instructions for Linux.

But for cmake:

cmake .. generates the actual build files, while cmake --build . performs the actual build. When only running cmake --build . without the first step I get:

build ➤ cmake --build ..
Error: could not load cache
build ➤
floooh commented 2 years ago

Ok: https://github.com/floooh/pacman.c/commit/2419f1a6817c459d63a952c54990eb8dbbe45403

mulle-nat commented 2 years ago

Hmm, I learned something new about cmake :)