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
where should Simbody examples be installed? #82
Comments
For reference, the installed examples folder has a |
Is that on Ubuntu? Where does the examples directory end up? |
The examples directory ends up at
This is both for mac and ubuntu for me. Note that I used homebrew for the mac build:
|
Does that mean by default on Debian it would end up in /usr/examples? That seems bad! The default on Mac puts it in /usr/local/examples which still seems like the wrong place. |
I'd think it'd go somewhere in /usr/share/simbody. On Thu, Dec 12, 2013 at 5:19 PM, Michael Sherman
|
I would say that the usual place is under /usr/share/doc/$package_name/examples. Easy to get using $CMAKE_INSTALL_DOCDIR. |
Currently the examples aren't installed on Ubuntu due to Jose's configuration of the debian install files. |
Here is the Debian policy regarding examples:
Please note that sources must be in |
Can you clarify about your last comment? Compiled examples go in On Thu, Dec 12, 2013 at 5:41 PM, Thomas Moulard notifications@github.comwrote:
|
I think he meant that they go in |
Yes, exactly. The most important point is: no architecture dependent files in share (i.e. no compiled files). |
Install most of the example files to the doc folder, except on UNIX, when the executable examples go to a subfolder of lib with a symbolic link installed to the doc folder.
This is a follow-on to pr #64.
@j-rivero, @scpeters, @thomas-moulard
The Simbody installation includes some example programs, provided in both source and binary form. On Windows these end up in
<SimbodyInstallDir>/examples/{bin,src,...}
which is adequate there. However I don't think they are going to the right place on Mac and Linux, where the installed files are spread around rather than being concentrated in a single directory. On Mac they end up in/usr/local/examples/...
. I don't know what happens on Linux.Where should these go? Is there a GnuInstallDirs convention for examples?
The text was updated successfully, but these errors were encountered: