<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 01/13/2014 04:22 PM, Jason Babicka
      wrote:<br>
    </div>
    <blockquote
      cite="mid:C47EA82D6205FD4A96C9E76B6A09B70014D397B5@SKYMB1.trustwave.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
span.EmailStyle17
        {font-family:"Calibri","sans-serif";
        color:windowtext}
.MsoChpDefault
        {font-family:"Calibri","sans-serif"}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
div.WordSection1
        {}
-->
</style>
      <div class="WordSection1"> 
        <p class="MsoNormal">So, I was wondering if anyone on this
          mailing list has tried to do something like this before?  If
          you have, I was wondering if you might be able to provide a
          very simple CMakeLists.txt example for how you do this? Also,
          if you have any other suggestions for things to try, I would
          greatly appreciate those as well.</p>
        <br>
      </div>
    </blockquote>
    <br>
    You can use add_custom_target() which in case of the visual studio
    generators will create a project that can execute commands of your
    choice.<br>
    Alternatively you can use add_custom_command() to  attach commands
    to existing targets (e.g. visual studio projects) or to produce an
    output that can be depended on by another target.<br>
    <br>
    Nils<br>
  </body>
</html>