<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>Logarithms in MATH expressions</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Anyone who knows wheter it's possible to calculate logarithms in MATH expressions in CMake?<BR>
Would like a log2 or alternatively &quot;ln&quot; (natural).<BR>
<BR>
-Martin<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: cmake-bounces+mlu=danware.dk@cmake.org on behalf of Fernando Cacciola<BR>
Sent: Wed 12/12/2007 2:29 PM<BR>
To: cmake@cmake.org<BR>
Subject: [CMake] Controling OutputDirectory in the vcprojs<BR>
<BR>
Hi,<BR>
<BR>
I'm porting (or trying to) a custom build system to CMake.<BR>
Following Boost we generate .libs whose names reflect configurarion<BR>
properties. To keep it simple, say we generate &quot;foo_release.lib&quot; and<BR>
&quot;foo_debug-lib&quot;.<BR>
I was able to get those names right by setting the &lt;CONFIG&gt;-OUTPUT-NAME<BR>
target properties, but I still have a problem: I don't want them in<BR>
&quot;Release&quot; and &quot;Debug&quot; folders (there is no need for that since the<BR>
configuration is in the name).<BR>
<BR>
Looking at &quot;cmLocalVisualStudio7Generator.cxx&quot; it seems I'm plain out of<BR>
luck since &quot;OutputDirectory&quot; is forcibly defined as the configuration name,<BR>
so<BR>
<BR>
1) Can the VisualStudio generator be fixed to define that as<BR>
LIBRARY_OUTPUT_DIRECTORY if defined?<BR>
<BR>
2) What can I do now? Can I plug in a post build event to copy the generated<BR>
.lib to the right folder? Or do I need to handle it as an install rule? (and<BR>
force my users to do &quot;make install&quot; in the end even for in-source builds)<BR>
<BR>
TIA<BR>
<BR>
--<BR>
Fernando Cacciola<BR>
SciSoft<BR>
<A HREF="http://fcacciola.50webs.com">http://fcacciola.50webs.com</A><BR>
<BR>
<BR>
_______________________________________________<BR>
CMake mailing list<BR>
CMake@cmake.org<BR>
<A HREF="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</A><BR>
<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>