-
June 8th, 2012, 02:28 AM
#1
Only compile code when library is found
Hello,
For the past few months I've been working with a lot of different libraries. During this process, I have written some classes & functions that I would like to keep. I have put all of these in my own static library (PJLib). Because some of those libraries (HALCON, ORiN2, ...) are of commercial use, I won't have access to them anymore at the end of this month. Is there any possibility that I can exclude the classes & functions that depend on these libraries from the build of PJLib, in the case that they are not found on the disk? This way, I can keep PJLib up to date without having to keep different versions. It is quite likely that I will have access to HALCON again very soon, so I don't want to throw out the code. It will also make it easier to share my code with others ...
Thanks a lot!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|