Comments (8)
ASWJ:
- Examples are going to remain as self-contained projects, no matter what.
- We could instruct root CMakeLists.txt to traverse these project so that everything is built together (main project + examples). However, this simple trick would force us to hide a few lines behind an
if
clause, for instance thesefind_package() instructions
. Since we aim to illustrate best practices and usage of our libraries/APIs (targeted at devs), such hacks would be certainly misleading. - Make Travis configure and compile the examples separately in the
before_script
section of .travis.yml.
from questions-and-answers.
Added TODO list to description.
from questions-and-answers.
Several examples are not even written in C/C++. Perhaps we could test bindings, too.
from questions-and-answers.
We could have avoided roboticslab-uc3m/tools#10 (comment) if examples were covered by tests.
Also, keep this in mind: roboticslab-uc3m/developer-manual#21. Which boils down to: place Travis instructions that relate to building the examples in the before_script
YAML section.
from questions-and-answers.
CMake alias targets may be useful here.
from questions-and-answers.
Idea: add_subdirectory(examples)
from root CMakeLists.txt, set ENABLE_examples=ON
in Travis (defaults to OFF)?
from questions-and-answers.
IMHO:
- CI is great, and it would be great to have
examples
at least compiled via Travis. - I'm happy with self-contained
examples
. If weadd_subdirectory(examples)
, wouldn't it be catching repo-level dependencies rather than forcing them to be cited explicitly?
As a solution, maybe forcing Travis to enter examples
and compile separately?
from questions-and-answers.
@PeterBowman Thanks!!!
from questions-and-answers.
Related Issues (20)
- Make dox target via YCM goodies HOT 9
- Unit tests and unsatisfied dependencies lead to compilation failure HOT 1
- Embrace hooks HOT 3
- Bump required YCM version (v0.10+) HOT 4
- YARP 3.0 upgrade path HOT 5
- Update CMake/YCM export options HOT 10
- [GitHub] Git LFS disabled for roboticslab-uc3m HOT 2
- Centralize Travis scripts HOT 4
- Changes to git branch policy in YARP/YCM HOT 8
- Drop dual master-develop branching in favor of a single prod branch HOT 10
- Review installation-related snippets in Markdown docs HOT 1
- Migrate to GitHub Actions HOT 24
- Add C++ examples to main build HOT 7
- Update links to GitBook project instances on legacy servers HOT 3
- Portmonitors renamed at YARP >= 3.5 HOT 1
- Update links pointing at new subdomain HOT 4
- sp_ineachdb and also sp_msforeachDB return only 50 records instead of hundreds HOT 3
- Randomization problems with JsPsych HOT 1
- cards in Thingsboard professional version HOT 1
- Abandon GitBook, look for alternatives HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from questions-and-answers.