-
Notifications
You must be signed in to change notification settings - Fork 4
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
Test for multiple targets, linking shared library #25
Comments
I think this should have high priority. Features discussed only require more tests like these, so we need to find an easy solution to this. I think for now it would suffice to get the tests running by playing with some path environment variables. |
I currently tend towards the following solution (described as an example project):
This would have the advantage that - analogous to a clean Python Additionally, we could bundle system-installed libraries, but this would probably require parsing compiler output from My research so far: Linux and OSXIt seems that now, on both OSX and Linux, we could add something like If we want to keep package management (something homebrew-like maybe) in mind I see three options:
OSXI found this reference. See https://stackoverflow.com/a/31825252/4069571 :
See this description for how to do .App packages WindowsI think we really do not want to force rpath-like behaviour on Windows: http://blog.omega-prime.co.uk/2012/12/06/rpath-emulation-absolute-dll-references-on-windows/ |
One more thing to consider: it seems that flatpak is gaining traction and our packaging on Linux systems should probably go in that direction https://flatpak.org/ |
The work in progress on Any |
For non-trivial tests, we could define targets as follows: [mylib]
target_type = "shared library"
[mylib2]
target_type = "shared library"
[complex_test]
is_test = true
dependencies = ["mylib", "mylib2"] |
The test was commented out on PR #23 with 57ff743, because we don't yet know how we want to solve rpath etc.
The executable cannot be run and the test is therefore useless.
The text was updated successfully, but these errors were encountered: