<!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.7650.28">
<TITLE>RE: [CMake] Native build system invocation</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>I don't know that I would advise what you're trying to do,<BR>
but if you insist :-) you might be interested in using<BR>
the value of CMAKE_GENERATOR. There's a list of the values<BR>
it takes on, as well as some information about scripts that<BR>
Kitware uses to automate builds on the CMake Wiki:<BR>
&nbsp;&nbsp; <A HREF="http://www.cmake.org/Wiki/CMake_Scripting_Of_CTest">http://www.cmake.org/Wiki/CMake_Scripting_Of_CTest</A><BR>
You could have CMake write the value of CMAKE_GENERATOR to<BR>
a file that your python script reads after invoking CMake<BR>
and uses to run the native build system.<BR>
<BR>
&nbsp;&nbsp;&nbsp; David<BR>
<BR>
-----Original Message-----<BR>
From: cmake-bounces+dcthomp=sandia.gov@cmake.org on behalf of Roman Yakovenko<BR>
Sent: Mon 12/25/2006 9:06 PM<BR>
To: gga<BR>
Cc: CMake ML<BR>
Subject: Re: [CMake] Native build system invocation<BR>
<BR>
On 12/26/06, gga &lt;ggarra@advancedsl.com.ar&gt; wrote:<BR>
&gt; Roman Yakovenko wrote:<BR>
&gt; &gt; Hi. It seems that I cannot to find answer for pretty simple question:<BR>
&gt; &gt; how I can invoke native build system from\using CMake?<BR>
&gt; Short answer is that you invoke the native build system as usual (make,<BR>
&gt; nmake, etc).<BR>
<BR>
Thanks for help. I know how to invoke native build system. What I<BR>
don't know how to make<BR>
it in &quot;portable&quot; way - I don't what to know what is the native build<BR>
system. CMake<BR>
already knows it, so I would like to reuse that knowledge.<BR>
<BR>
&gt; Find attached a wrapper bash script I am using for cmake and normal<BR>
&gt; Makefiles.<BR>
&gt; It automatically creates out-of-source builds when run under cmake.<BR>
&gt; For running it on windows, you will need something like cygwin or MSYS<BR>
<BR>
Unfortunately I cannot introduce new dependencies :-(<BR>
<BR>
Thank you.<BR>
<BR>
--<BR>
Roman Yakovenko<BR>
C++ Python language binding<BR>
<A HREF="http://www.language-binding.net/">http://www.language-binding.net/</A><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>