Using a build specification template with kwbuildproject
Run kwbuildproject on the build specification template file, using the --buildspec-variable (-V) option to map the variables:
--buildspec-variable <variable_name>=<variable_value>
For example:
kwbuildproject -V ROOT=/Develop/TESTING/projects/zlib-1.2.2 --tables-directory ~/tmp/tables/Develop/TESTING/projects/zlib-1.2.2 kwinject_var.tpl