open-education-hub / operating-systems

Teaching resources (OER) for Operating Systems
https://open-education-hub.github.io/operating-systems/
Other
63 stars 158 forks source link

Draft cmake integration #334

Closed cristian-vijelie closed 11 months ago

cristian-vijelie commented 1 year ago

Currently, only the binaries in app-interact are built with cmake. To build, run

.../operating-systems/content$ mkdir build/ && cd build/
.../operating-systems/content/build$ cmake -S .. -B .
.../operating-systems/content/build$ make -j $(nproc)

All executables will be built in the build/ folder, following a structure similar to the source files locations.

For example, the executable generated from content/chapters/app-interact/lab/support/password-cracker/password-cracker-multiprocess.c will be located in content/build/chapters/app-interact/lab/support/password-cracker/

Closes #268

gabrielmocanu commented 11 months ago

@cristian-vijelie Any reason to close it?

cristian-vijelie commented 11 months ago

@gabrielmocanu close what?

gabrielmocanu commented 11 months ago

image I see, you deleted your fork.

cristian-vijelie commented 11 months ago

Fk.