Boost logo

Boost-Build :

Subject: [Boost-build] "run" rule with same binary but different parameters
From: Raffi Enficiaud (raffi.enficiaud_at_[hidden])
Date: 2016-10-09 19:10:30

Hi all,

I am trying to run a binary with different command line parameters, so
right now I have this:

   [ run smoke-ts/basic-smoke-test.cpp
../build//boost_unit_test_framework/<link>static :
--log_sink=smoke-ts-sink.xml --log_format=XML ]
   [ run smoke-ts/basic-smoke-test.cpp
../build//boost_unit_test_framework/<link>static :
--log_sink=smoke-ts-sink2.xml --log_format=HRF : : : bt-st-b2 ]

This works ok, but requires the recompilation of the same sources. If I
omit the ": : : bt-st-b2", b2 is confused as apparently it does not
support the same target name.

Is there a way to do that without being forced to recompile?


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at