How to make a (pre-built) static library's contents accessible to a test? #953
-
I'm trying to get Ceedling (0.3x) to compile a test file, such that it links in a pre-built static library (.a file). I can add a path to the folder containing the pre-built static library, e.g:
...and the executed command reflects this, e.g:
However the command that needs to execute is one including the library file itself, e.g:
Is there a way to configure Ceedling to yield a command including specific libraries, i.e. -lmyLib.a? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You want to specify the path in paths and the library itself in the libraries section:
|
Beta Was this translation helpful? Give feedback.
-
Ah - thanks! |
Beta Was this translation helpful? Give feedback.
You want to specify the path in paths and the library itself in the libraries section: