Skip to content

Improve test build process #5

@LukasJoswiak

Description

@LukasJoswiak

The current model to compile the testing suite is to include each test file in a single file tests.cpp. This file is then compiled instead of compiling and linking each test file separately. Compiling a single file which includes all test files is not ideal because any time a test is changed the entire test suite must be rebuilt. However, because draft is a header-only library, each compiled test object file contains all of draft's definitions, resulting in duplicate definition errors on linking.

This issue is to track progress on reaching a better solution to building tests for draft.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions