Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chaiscript #include statement mapping in biicode.conf

I want to create a biicode block that depends on the chaiscript block (lefticus/ChaiScript). If I include the chaiscript headers this way

#include <lefticus/ChaiScript/chaiscript/chaiscript.hpp>

bii find works fine. But I would like to include them as

#include <chaiscript/chaiscript.hpp>

so I changed my biicode.conf such as this :

[includes]
    chaiscript/*.hpp: lefticus/ChaiScript

but then I got

florian@florian-VirtualBox:~/dev/ATE$ bii find
INFO: Processing changes...
WARN: There are local unresolved dependencies
They will not be searched in the server
Unresolved: chaiscript/chaiscript.hpp, chaiscript/chaiscript_stdlib.hpp
INFO: Finding missing dependencies in server
INFO: Looking for chaiscript/utility...
WARN: Can't find block candidate for: chaiscript/utility
INFO: Looking for chaiscript/dispatchkit...
WARN: Can't find block candidate for: chaiscript/dispatchkit
INFO: No block candidates found

How do I have to configure biicode to make it work with the "classic" chaiscript includes ?

Thanks

like image 857
Florian Avatar asked Jul 31 '26 08:07

Florian


1 Answers

You were doing well but you need to write the requirement too:

[requirements] 
     lefticus/ChaiScript: 1
[includes]
     chaiscript/*.hpp: lefticus/ChaiScript

This way you can keep your includes as:

#include "chaiscript/chaiscript.hpp"

PD: it is necessary because "bii find" don't work yet with such include mapping.

like image 80
lasote Avatar answered Aug 01 '26 21:08

lasote



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!