Skip to content

How to make a (pre-built) static library's contents accessible to a test? #953

Closed Answered by mvandervoord
krispin-gradient asked this question in Q&A
Discussion options

You must be logged in to vote

You want to specify the path in paths and the library itself in the libraries section:

:paths:
  :libraries:
    - path/to/lib-folder    # Linker library search paths

:libraries:
  :test:
    - myLib.a
  :release: []
  :system:
    - m
  :flag: -l${1}  # Not actually necessary for gcc-conventions

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by krispin-gradient
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants