Skip to content

examples and tests as standalone CMake projects #29

@ghisvail

Description

@ghisvail

From a (distribution) CI perspective, it would be desirable to build the examples and tests against the packaged version of the ASL libraries. With the CMake targets you defined in the root CMakeLists.txt, it should be fairly straightforward to do, by just adding:

cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR)
project(ASL-examples) # project(ASL-tests)

find_package(ASL REQUIRED)

to examples/CMakeLists.txt and test/CMakeLists.txt, and replacing the target names in subsequent target_link_libraries calls with their respective ASL::<target> aliases.

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