Skip to content

boost unit_test_framework not compiled #13

@SrTobi

Description

@SrTobi

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:

bii_find_boost(COMPONENTS unit_test_framework REQUIRED)

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions