numam-dpdk/examples/cmdline
Bruce Richardson 89f0711f9d examples: build some samples with meson
Add support for having selected example apps built as part of a meson,
ninja build. By default none are built, and those to be built should be
named directly in the -Dexamples='' meson configuration argument.

This is useful for developers working on a feature who want to use a
suitable example, or examples, to test that feature, as they can compile
everything up in one go, and run the example without having to do a ninja
install first.

This commit adds examples which don't consist of multiple apps in
subdirectories to the meson build, so they can be built by default by
passing -Dexamples parameter to meson.

Not included are the following examples:
* ethtool
* multi-process
* netmap_compat
* performance-thread
* quota_watermark
* server_node_efd
* vm_power_manager

To test the apps added here, use the following command, merged to one line,
to add them to your meson build (command to be run inside the build
directory):

meson configure -Dexamples=bbdev_app,bond,cmdline,distributor,\
	eventdev_pipeline_sw_pmd, exception_path,helloworld,\
	ip_fragmentation,ip_pipeline,ip_reassembly, ipsec-secgw,\
	ipv4_multicast,kni,l2fwd-cat,l2fwd-crypto,l2fwd-jobstats,\
	l2fwd-keepalive,l2fwd,l3fwd-acl,l3fwd-power,l3fwd-vf,l3fwd,\
	link_status_interrupt,load_balancer,packet_ordering,ptpclient,\
	qos_meter,qos_sched,rxtx_callbacks,skeleton,tep_termination,\
	timer,vhost,vhost_scsi,vmdq,vmdq_dcb

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: Luca Boccassi <bluca@debian.org>
2018-01-30 21:58:59 +01:00
..
commands.c examples: fix whitespace 2015-06-12 11:10:10 +02:00
commands.h examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
main.c remove useless memzone includes 2017-11-06 22:12:08 +01:00
Makefile examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
meson.build examples: build some samples with meson 2018-01-30 21:58:59 +01:00
parse_obj_list.c cmdline: fix overflow on bsd 2014-12-05 16:54:53 +01:00
parse_obj_list.h cmdline: fix overflow on bsd 2014-12-05 16:54:53 +01:00