Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft cmake integration #334

Closed
wants to merge 1 commit into from
Closed

Draft cmake integration #334

wants to merge 1 commit into from

Conversation

cristian-vijelie
Copy link
Contributor

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

@github-actions github-actions bot added area/code Update or new source code support / solution files topic/app-interact Related to "Application Interaction" chapter kind/new New content / item labels Oct 5, 2023
@cristian-vijelie cristian-vijelie closed this by deleting the head repository Nov 17, 2023
@gabrielmocanu
Copy link
Contributor

@cristian-vijelie Any reason to close it?

@cristian-vijelie
Copy link
Contributor Author

@gabrielmocanu close what?

@gabrielmocanu
Copy link
Contributor

image
I see, you deleted your fork.

@cristian-vijelie
Copy link
Contributor Author

Fk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/code Update or new source code support / solution files kind/new New content / item topic/app-interact Related to "Application Interaction" chapter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

infrastructure: Use CMake instead of the current build system
2 participants