Boost logo

Boost-Build :

Subject: [Boost-build] How to execute a command after succesful buildx
From: Kim Tang (kuentang_at_[hidden])
Date: 2016-05-08 16:50:01


 

Hi all,

 

Is it possible to execute a shell command once the build was successful?

 

I would like to do something like this:

 

# Declare an executable called pik that embeds Python

lib pik : pik.cpp /python//python q ;

 

import testing ;

 

# Declare a test of the pik application

 

# I just want to run something like

# q test_pik.q

# q is a shell program

testing.run pik pik.cpp

  : # any
ordinary arguments

  : # any
arguments that should be treated as relative paths

  : #
requirements

  : test_pik ; #
name of test

 

 

Many thanks for any suggestions or help.

 

--
Kim Tang



Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk