-
Notifications
You must be signed in to change notification settings - Fork 24
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
Add linux build instructions #60
base: main
Are you sure you want to change the base?
Conversation
6bcbfc4
to
951da5d
Compare
-S {{cookiecutter.github_project}} \ | ||
-B {{cookiecutter.github_project}}-SuperBuild-Release | ||
|
||
make -j<N> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It could be best as is, though my usual approach is instead
cmake --build . -j<N>
(Actually, I usually also throw in a --config Release
for good measure, but I have no idea whether that is useful.)
|
||
## Package | ||
|
||
From the inner build folder: | ||
From the _inner build_ folder: | ||
|
||
```sh | ||
make package |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Likwwise, it could be best as is, though my usual approach is instead from the superbuild folder
cmake --build . --target package -j<N>
(Also usually including --config Release
.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I'm wrong. I do that from the inner build folder.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess the advantage is that it's a more platform-independent command.
I like that aspect of it, but I also prefer a simple and easy to remember command.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's merge this?
a0fbf42
to
46927a4
Compare
This makes room for linux build instructions to be added
This doesn't make sense for a number of reasons: - Not every organization has a domain name like that or does emails like that with first and last names. - Email is not always the preferred mode of contact. - If someone can read this BUILD_WINDOWS.md document, then they already have read access to the repo and do not need to request further access. Write access is not needed for cloning and building.
Build time depends on many factors and evolves as Slicer does
Co-authored-by: Jean-Christophe Fillion-Robin <[email protected]>
It's only needed on ubuntu 20.04 pretty much so it should not be there in the main instruction.
46927a4
to
3371856
Compare
Close #56