[CMake] Why does CMAKE_DEBUG_POSTFIX not apply to executables?

Ian.Appru at ubs.com Ian.Appru at ubs.com
Tue Jan 31 03:58:00 EST 2006


 Hi Marco,

I had a similar problem with shared libraries with v2.2.3
I made a changes to cmTarget.cxx GetFullNameInternal() and GetBaseName()
to get this working.

However I believe the cvs version has fixed this now.

Regards
Ian

-----Original Message-----
From: cmake-bounces+ian.appru=ubs.com at cmake.org
[mailto:cmake-bounces+ian.appru=ubs.com at cmake.org] On Behalf Of wedekind
Sent: 31 January 2006 08:14
To: cmake at cmake.org
Subject: [CMake] Why does CMAKE_DEBUG_POSTFIX not apply to executables?

Hello list,

does anyone know, why the CMAKE_DEBUG_POSTFIX is not applied to
executables?
I want to add a suffix (or postfix) "d" to debug-libs and -executables
to be able to have debug _and_ release versions in one directory. In
cmTarget::GetFullNameInternal(...) the CMAKE_DEBUG_POSTFIX is not
applied to cmTarget::EXECUTABLEs...

Is there a legal way to do this (without modifying existing CMake-code)?

Cheers

Marco

---
Marco Wedekind
Julius Support Division

research center caesar
Ludwig-Ehrhard-Allee 2
53175 Bonn

tel.: 0228 / 9656 -431
email: wedekind at caesar.de
web: www.julius.caesar.de


_______________________________________________
CMake mailing list
CMake at cmake.org
http://www.cmake.org/mailman/listinfo/cmake

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