There is a compiled boost library called unit_test_framework. The problem is, that it is not handled correctly by bii_find_boost. In order to link against the library the following code should be sufficient:
But using the above code the library wont be compiled. In order to compile the library the following cmake code is necessary:
bii_find_boost(COMPONENTS test REQUIRED)
Using the second one (to build the library) and change the cmake to the first one afterwards (to actually find the library) and run bii configure again, works. Also it seems that there is no example in this repo to test unit_test_framework.
My solution would be to manually transform unit_test_framework to test when it comes to compiling the boost components. Is there another way or is unit_test_framework not supported at all?
There is a compiled boost library called
unit_test_framework
. The problem is, that it is not handled correctly by bii_find_boost. In order to link against the library the following code should be sufficient:But using the above code the library wont be compiled. In order to compile the library the following cmake code is necessary:
Using the second one (to build the library) and change the cmake to the first one afterwards (to actually find the library) and run
bii configure
again, works. Also it seems that there is no example in this repo to test unit_test_framework.My solution would be to manually transform
unit_test_framework
totest
when it comes to compiling the boost components. Is there another way or is unit_test_framework not supported at all?