Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

examples and tests as standalone CMake projects #29

Open
ghisvail opened this issue Nov 24, 2016 · 0 comments
Open

examples and tests as standalone CMake projects #29

ghisvail opened this issue Nov 24, 2016 · 0 comments

Comments

@ghisvail
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant