ASL icon indicating copy to clipboard operation
ASL copied to clipboard

examples and tests as standalone CMake projects

Open ghisvail opened this issue 9 years ago • 0 comments

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.

ghisvail avatar Nov 24 '16 09:11 ghisvail