Hi,
I`m trying to get the source during the build, and then compile it. This works if I call twice:
# - - -
import path ;
actions get-source
{
# Or I could use wget, create a .cpp etc
}
make source-code : : @get-source ;
explicit source-code ;
lib a_random_library_name : [ path.glob somewhere : *.h *.cpp ] : <dependency>source-code ;
# - - -
Any idea how to make it work?