[CMake] Copying DLLs to output directory

Daniel Schepler dschepler at scalable-networks.com
Fri Oct 31 17:18:36 EDT 2014


In my online research, I was finding limits more like 1024 or 2048 characters maximum.  But if 32767 bytes is the real limit, and there are no compatibility issues with certain programs for values longer than 1024 characters, that would be great.
-- 
Daniel


-----Original Message-----
From: CMake [mailto:cmake-bounces at cmake.org] On Behalf Of Bill Somerville
Sent: Friday, October 31, 2014 2:12 PM
To: cmake at cmake.org
Subject: Re: [CMake] Copying DLLs to output directory

On 31/10/2014 20:46, Daniel Schepler wrote:
> And what if there are more dependencies?  For example, we have a project here that uses Qt, Boost, OGRE, MYGUI, GDAL, Protobuf and EXPAT at least.  And then if some of those builds aren't self-contained, you could add in dependencies like OpenSSL, libjpeg, libpng, etc.  It seems like all those PATH entries could easily end up overflowing Windows' limit on the length of PATH.
Seriously? 32,767 bytes maximum in an environment variable. If you blow that then I suggest installing all those packages somewhere nearer the filesystem root!

Regards
Bill.
-- 

Powered by www.kitware.com

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

Kitware offers various services to support the CMake community. For more information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

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

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake



More information about the CMake mailing list