c++ - Coapp / autopkg : multiple include folders in /build/native/include/ -
i trying build nuget package via coapp tool c++. package needs embed 3 folders when compiling cpp using it.
so, want internal include structure following :
/build/native/include/lib1, /build/native/include/lib2, /build/native/include/lib3
my question: how add several include folders in /build/native/include/
i tryied :
multiple blocs of (varying lib1, lib2, lib3):
nestedinclude += { #destination = ${d_include}lib1; ".\lib1\**\*.hpp", ".\lib1\**\*.h" };
multiple blocs of (varying lib1, lib2, lib3):
nestedinclude { #destination = ${d_include}lib1; ".\lib1\**\*.hpp", ".\lib1\**\*.h" };
but seems coapp accumulates .h/.hpp files among blocs (depending of operator += or not) , @ end, add of them last #destination
tag value. unique entry : /build/native/include/lib3
the destination overwritten in example , therefore flat in last given address. handle can instead create multiple nested include,
nested1include: { #destination = ${d_include}lib1; ".\lib1\**\*.hpp", ".\lib1\**\*.h" } nested2include: { #destination = ${d_include}lib2; ".\lib2\**\*.hpp", ".\lib2\**\*.h" }
Comments
Post a Comment