[Cmake] Command to perform POST BUILD step
Venkata
venkata@wayne.edu
Fri May 21 15:18:18 EDT 2004
This is a multi-part message in MIME format.
------=_NextPart_000_0016_01C43F1C.EFA2BAF0
Content-Type: text/plain;
charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
Hello,
=20
I need to perform some POST BUILD STEPS on a program I am working. The =
four
POST BUILD commands that are to be performed are as shown below.
=20
-------------------------------------------------------------------------=
---
-------------------
Debug\simpleax.exe -dumpidl tmp\obj\release_mt_static\simpleax.idl =
-version
1.0
midl /nologo tmp\obj\release_mt_static\simpleax.idl /tlb
tmp\obj\release_mt_static\simpleax.tlb
$(QTDIR)\bin\idc.exe Debug\simpleax.exe /tlb
tmp\obj\release_mt_static\simpleax.tlb
Debug\simpleax.exe -regserver
-------------------------------------------------------------------------=
---
-------------------
=20
My final executable of the program is simpleax.exe. When I referred the
CMAKE documentation I could find the following command regarding POST =
BUILD=20
=20
ADD_CUSTOM_COMMAND(TARGET target
PRE_BUILD | PRE_LINK | POST_BUILD
COMMAND command
[ARGS [args...]]
[COMMENT comment])
=20
I am facing difficulty in conversion of all the above commands =
appropriate
to the syntax of the ADD_CUSTOM_COMMAND shown above. I do not know =
whether
this would an appropriate command to use. So if any one of you has any =
idea
on this please let me know.
=20
Your ideas and suggestions will be greatly appreciated.
=20
Thanks
-venkat
------=_NextPart_000_0016_01C43F1C.EFA2BAF0
Content-Type: text/html;
charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.EmailStyle17
{font-family:Arial;
color:windowtext;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=3DEN-US link=3Dblue vlink=3Dpurple>
<div class=3DSection1>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Hello,</span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I need to perform some POST BUILD STEPS on a program =
I am
working. The four POST BUILD commands that are to be performed are as =
shown
below.</span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>-----------------------------------------------------------------=
------------------------------</span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>Debug\simpleax.exe –dumpidl =
tmp\obj\release_mt_static\simpleax.idl
–version 1.0</span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>midl /nologo tmp\obj\release_mt_static\simpleax.idl /tlb =
tmp\obj\release_mt_static\simpleax.tlb</span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>$(QTDIR)\bin\idc.exe Debug\simpleax.exe /tlb =
tmp\obj\release_mt_static\simpleax.tlb</span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>Debug\simpleax.exe –regserver</span></font></p>
<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>-----------------------------------------------------------------=
------------------------------</span></font></p>
<p class=3DMsoNormal style=3D'text-align:justify'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'> </span></font></p>
<p class=3DMsoNormal style=3D'text-align:justify'><font size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>My final =
executable of
the program is simpleax.exe. When I referred the CMAKE documentation I =
could
find the following command regarding POST BUILD </span></font></p>
<p class=3DMsoNormal style=3D'text-align:justify'><font size=3D3
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'> </span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>ADD_CUSTOM_COMMAND(TARGET target<br>
&=
nbsp;
PRE_BUILD | PRE_LINK | POST_BUILD<br>
&=
nbsp;
COMMAND command<br>
&=
nbsp;
[ARGS [args...]]<br>
&=
nbsp;
[COMMENT comment])</span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'> </span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>I am facing difficulty in conversion of all the above commands
appropriate to the syntax of the ADD_CUSTOM_COMMAND shown above. I do =
not know
whether this would an appropriate command to use. So if any one of you =
has any
idea on this please let me know.</span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'> </span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>Your ideas and suggestions will be greatly =
appreciated.</span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'> </span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>Thanks</span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>-venkat</span></font></p>
</div>
</body>
</html>
------=_NextPart_000_0016_01C43F1C.EFA2BAF0--
More information about the Cmake
mailing list