[CMake] Some cmake comments/issues

Ian.Appru at ubs.com Ian.Appru at ubs.com
Thu Jan 19 04:13:49 EST 2006


Hi,

I am have started using CMake 2.2.3 to build a variety of projects and have a couple of comments -

The CMAKE_SHARED_LIBRARY_SUFFIX is ignored on Windows by the Visual Studio generators - this is important when building Excel add-ins as they require the suffix .xll

I fixed the VC 2003 generator by changing cmLocalVisualStudio7Generator::OutputBuildTool() to use CMAKE_SHARED_LIBRARY_SUFFIX rather than a hardwired ".dll" string.
This appears fine for my needs but I see the .dll suffix is used elsewhere as a definition for SHARED_LIBRARY_FILE_FORMAT so not sure what the full impact of this change might be - in any case is it worth adding a bug report for this?

I've also noted that the CMAKE_DEBUG_POSTFIX setting is ignored by the unix makefile generator. I seem to recall this is a known issue for which clever use of variables will produce the desired result. But I would add my weight to the suggestion of a previous mailer that this is  a bug as I will now have to create different cmake implementations for windows and solaris/linux.

I couldn't see a way of getting the bootstrap script to carry out an out-of-source build or clean an existing cmake build - I need this as I have cross mounted solaris/linux drives - I made a few changes to the bootstrap script so that it builds to ./build/${cmake_system} by default. You may want to consider adding this.


Regards
Ian




Visit our website at http://www.ubs.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.



More information about the CMake mailing list