mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-28 09:38:53 +00:00
de92956220
This patch reads program arguments from the config file and makes them available to the application via the 'argc' and 'argv' arguments of the 'main()' function. The configuration syntax looks like this: <config> <arg value="..."> <arg value="..."> ... </config> The 'value' attribute of the first <arg> node becomes 'argv[0]' and so on. Fixes #184.
4 lines
67 B
Makefile
4 lines
67 B
Makefile
SRC_CC = config_args.cc
|
|
|
|
vpath %.cc $(REP_DIR)/src/lib/config_args
|