-
Notifications
You must be signed in to change notification settings - Fork 45
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
CMake Project Examples #6
Comments
How does the above sound? |
Linking to RobotLocomotion/drake#6149 (for those with access). The above sounds great. Almost any of the simple executables in the examples directory would be appropriate here. For instance, implementing examples/simple_continuous_time_system again, but using drake as an external. Perhaps a similarly simple example using the optimization library, too. Goal is to document/prototype how we think external projects should use drake. |
@jamiesnape we need some concrete examples to validate it. As Russ mentioned, examples/simple_continuous_time_system is a good example and I think sufficient for a first pass. |
Sounds good. |
Let's drop that example in all the drake examples (i.e. bazel and cmake). We should also drop the hello world code then just to keep it simple. |
Cool, working on it now. |
Note that the licenses are currently different for this repo and drake and hence |
Oversight, let's sync the license here with Drake's. |
Some update. We cannot do Travis, it has no support for Ubuntu/Xenial. CircleCI is another option, but 2.0 with Xenial support only released yesterday. Likely to be bumpy. There are other options that may be feasible, e.g. docker container builds, but these are likely to be sufficiently complex to defeat the purpose. For now we will just drop in a simple bash script build on Jenkins. Bash scripts in the project examples. |
Task List for the 20170713-14 sprint: Target Platform: Ubuntu/Xenial
Stretch
|
Travis-CI says to use Docker if you want a Xenial build environment travis-ci/travis-ci#5821 (comment). I think that's a fine approach for a Xenial flavor of the a prebuilt-Drake-in-other-CI example. |
I think CircleCI 2.0 would work best for us at this stage. |
I set up xenial testing with Docker on Travis for Director: https://github.com/RobotLocomotion/director/blob/master/.travis.yml and it was actually pretty easy. |
Most jobs covered in PR #8. Will follow up on the remaining in individual issues. |
To put under CI and be instructive about how to pull Drake into a CMake project. Pulling is via
find_package
orExternalProjectAdd
.@RussTedrake would also like to show (I agree) a lightweight Travis build using a hosted tarball of the installation.
The text was updated successfully, but these errors were encountered: