Replaces #1533. Description over there is still accurate. Two additions:
- The user needs to manually set PAPARAZZI_HOME, PAPARAZZI_SRC and TARGET in the build environment after opening .creator file.
- The user needs to manually set the build and clean steps. Disable the check at "all" and put in "Make Arguments": -C /home/houjebek/paparazzi -f Makefile.ac AIRCRAFT=<name> <target>.compile. For example: -C /home/houjebek/paparazzi -f Makefile.ac AIRCRAFT=Iris ap.compile
This needs to happen only once, after which QT will create a .creator.user file
The module attribute for a message was used to only include that message in the generated periodic telemetry if that module was loaded.
This is not needed anymore with the register_periodic_telemetry() funtions as unregistered messages are simply not sent.
see #1674
- can be used localy in the flight plan to avoid adding new variables in
the base code when it can be avoided
- with appropriate attributes, will generate a settings accessible from
the GCS
If the CONF_XML environment variable is set, use that conf.xml file instead of the standard $PAPARAZZI_HOME/conf/conf.xml
Meaning you can run tests for a different conf without changing the conf.xml symlink, e.g.
```
CONF_XML=$PAPARAZZI_HOME/conf/conf_tests.xml prove tests/examples
```
- always save build version when updating anything that depends on libpprz, so it will also be updated on e.g. make tmtc
- only warn if the version number (major.minor.patch) is different, disregard the label, sha1, dirty postfixes in the string...
generators should only output on stderr if there actually was an error.
Rather echo to stdout from the makefile to print the info.
This makes it possible to redirect stderr on compiling/testing to a buffer/file.
E.g. to check if there were warnings..
by passing J=AUTO from toplevel make it will auto-detect the number of CPUs
Number of processes can also be explicitly set with e.g. J=4
Calling make without a J variable is the same as J=1 (serial compilation)
- Use findlib (ocamlfind) for ocaml packages.
- Create META file for pprz ocaml lib.
- Link dynamically instead of statically (no -custom), which also results in faster build times.
- Use mktemp to properly create temporary files.
- More makefile cleanup...
closes#274
This assumes that mktemp is available, but should provide a better solution for issue #229.
Also create a variable holding the tempfile name which is unique to each target.
This should prevent problems with parallel builds, since these variables are global.