I need to produce a nice self-contained packaged of executables and
libraries for my project. I've looked around the web and found many very
distinct ways of achieving this. I was wondering if there is some best
practice related to this.

Ideally I'd like to work from the same variables I use for linking, but
I think I've already given up on that and know I'll have to hand-list
every library. But still then I have these issues:

- on windows the libraries are often the .lib, but I need to locate the
associated DLL
- on linux I need to ensure I'm copying the actual file an not a symlink
- between debug/release I seem to have to list the files twice
- I'd prefer a cross-platform solution, I don't want to code the copying
once for each target platform

If anybody has a good resource, or can recommend some best practices,
that would be great.

-- 
edA-qa mort-ora-y
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

        BigTPoker - Poker fun and games

                http://BigTPoker.com/
        
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Sign: Please digitally sign your emails.
Encrypt: I'm also happy to receive encrypted mail.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to