<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Il 15/01/2011 0.34, <a class="moz-txt-link-abbreviated" href="mailto:Aaron_Wright@selinc.com">Aaron_Wright@selinc.com</a> ha scritto:
    <blockquote
cite="mid:OF2875C049.2DB063A3-ON88257818.008045A2-88257818.00817C29@selinc.com"
      type="cite">
      <pre wrap="">I have a project with custom resource files in it, and unfortunately they 
have the same extension as real resource files, so Visual Studio tries to 
compile them. This obviously doesn't work.

So I set the HEADER_FILE_ONLY property on these files and that fixed it.

Now we're moving to Visual Studio 2010 on Windows 7 32-bit and the problem 
is back. The files are still marked HEADER_FILE_ONLY, but that doesn't 
exclude them from the build anymore. Is there something I can do to get 
the same behavior back I was seeing in Visual Studio 2008? Is there an 
EXCLUDE_FROM_BUILD property? I noticed a bug report on excluding files 
from the build, <a class="moz-txt-link-freetext" href="http://www.itk.org/Bug/view.php?id=6314">http://www.itk.org/Bug/view.php?id=6314</a>, but that is 
pretty old.

I'm using CMake 2.8.3

Line from the project:

&lt;ClInclude Include="resources\logging.en.res" /&gt;

How can I get it to:

&lt;None Include="resources\logging.en.res"&gt;
   &lt;ExcludedFromBuild 
Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"&gt;true&lt;/ExcludedFromBuild&gt;
&lt;/None&gt;

Or something similar with the excluded from build set to true.
---
Aaron Wright
_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>

Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>

Please keep messages on-topic and check the CMake FAQ at: <a class="moz-txt-link-freetext" href="http://www.cmake.org/Wiki/CMake_FAQ">http://www.cmake.org/Wiki/CMake_FAQ</a>

Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a>

__________ Informazioni da ESET NOD32 Antivirus, versione del database delle firme digitali 5792 (20110116) __________

Il messaggio &egrave; stato controllato da ESET NOD32 Antivirus.

<a class="moz-txt-link-abbreviated" href="http://www.nod32.it">www.nod32.it</a>




</pre>
    </blockquote>
    That's the bug: <a class="moz-txt-link-freetext" href="http://public.kitware.com/Bug/view.php?id=11404">http://public.kitware.com/Bug/view.php?id=11404</a> and
    was fixed in 2.8.4... so you can start to try the rc1<br>
    <br>
    <div class="moz-signature">-- <br>
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="ProgId" content="Word.Document">
      <meta name="Generator" content="Microsoft Word 11">
      <meta name="Originator" content="Microsoft Word 11">
      <link rel="File-List" href="korg_file/filelist.xml">
      <title>korg Firma</title>
      <!--[if gte mso 9]><xml>
 <o:DocumentProperties>
  <o:Author>Nazzareno Bonanni</o:Author>
  <o:LastAuthor>Nazzareno Bonanni</o:LastAuthor>
  <o:Revision>2</o:Revision>
  <o:TotalTime>0</o:TotalTime>
  <o:Created>2010-03-15T15:07:00Z</o:Created>
  <o:LastSaved>2010-03-15T15:07:00Z</o:LastSaved>
  <o:Pages>1</o:Pages>
  <o:Words>237</o:Words>
  <o:Characters>1353</o:Characters>
  <o:Company>KORG Italy S.p.A.</o:Company>
  <o:Lines>11</o:Lines>
  <o:Paragraphs>3</o:Paragraphs>
  <o:CharactersWithSpaces>1587</o:CharactersWithSpaces>
  <o:Version>11.9999</o:Version>
 </o:DocumentProperties>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:Zoom>150</w:Zoom>
  <w:GrammarState>Clean</w:GrammarState>
  <w:HyphenationZone>14</w:HyphenationZone>
  <w:ValidateAgainstSchemas/>
  <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
  <w:IgnoreMixedContent>false</w:IgnoreMixedContent>
  <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:LatentStyles DefLockedState="false" LatentStyleCount="156">
 </w:LatentStyles>
</xml><![endif]-->
      <style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Palatino Linotype";
        panose-1:2 4 5 2 5 5 5 3 3 4;
        mso-font-charset:0;
        mso-generic-font-family:roman;
        mso-font-pitch:variable;
        mso-font-signature:-536870009 1073741843 0 0 415 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
h1
        {margin-top:0cm;
        margin-right:56.65pt;
        margin-bottom:0cm;
        margin-left:0cm;
        margin-bottom:.0001pt;
        text-align:center;
        text-indent:70.9pt;
        mso-pagination:widow-orphan;
        page-break-after:avoid;
        mso-outline-level:1;
        font-size:12.0pt;
        font-family:"Times New Roman";
        font-weight:normal;}
span.GramE
        {mso-style-name:"";
        mso-gram-e:yes;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 2.0cm 2.0cm 2.0cm;
        mso-header-margin:35.4pt;
        mso-footer-margin:35.4pt;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 10]>
<style>
 /* Style Definitions */
 table.MsoNormalTable
        {mso-style-name:"Tabella normale";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
        mso-para-margin:0cm;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";
        mso-ansi-language:#0400;
        mso-fareast-language:#0400;
        mso-bidi-language:#0400;}
</style>
<![endif]-->
      <div class="Section1">
        <p class="MsoNormal" style="margin: 0cm 56.65pt 0.0001pt 2cm;
          line-height: 24pt;"><b><span style="font-family:
              &quot;Palatino Linotype&quot;; color: rgb(153, 153, 153);">KORG
              ITALY SPA<o:p></o:p></span></b></p>
        <p class="MsoNormal" style="margin-left: 21.3pt; text-indent:
          35.4pt;"><b><span style="font-size: 9pt; font-family:
              &quot;Palatino Linotype&quot;; color: rgb(153, 153, 153);">Via
Cagiata,
              85 &#8211; 60027 Osimo (AN) - ITALY<o:p></o:p></span></b></p>
        <p class="MsoNormal" style="margin-left: 21.25pt; text-indent:
          35.45pt;"><b><span style="font-size: 9pt; font-family:
              &quot;Palatino Linotype&quot;; color: rgb(153, 153, 153);">Ph.&nbsp;&nbsp;
+39
              071 727161 -<span class="GramE"> &nbsp;</span>Fax&nbsp;&nbsp; +39 071
              7231228<o:p></o:p></span></b></p>
        <p class="MsoNormal" style="margin-left: 21.25pt; text-indent:
          35.45pt;"><b><span style="font-size: 9pt; font-family:
              &quot;Palatino Linotype&quot;; color: rgb(153, 153, 153);">P.IVA
              e
              Cod. fiscale IT01460580424<o:p></o:p></span></b></p>
        <h1 style="margin: 0cm 2cm 0.0001pt 21.25pt; text-align: left;
          text-indent: 35.45pt;" align="left"><b><span style="font-size:
              9pt; font-family: &quot;Palatino Linotype&quot;; color:
              rgb(153, 153, 153);">Soggetta
              al controllo della Societ&agrave; KORG Inc. - Giappone<o:p></o:p></span></b></h1>
        <h1 style="margin: 0cm 2cm 0.0001pt 21.25pt; text-align: left;
          text-indent: 35.45pt;" align="left"><b><span style="font-size:
              9pt; font-family: &quot;Palatino Linotype&quot;; color:
              rgb(153, 153, 153);">Reg.
              Imprese di n. 212056/1996 del 23/12/<span class="GramE">96</span><o:p></o:p></span></b></h1>
        <h1 style="margin: 0cm 2cm 0.0001pt 21.25pt; text-align: left;
          text-indent: 35.45pt;" align="left"><b><span style="font-size:
              9pt; font-family: &quot;Palatino Linotype&quot;; color:
              rgb(153, 153, 153);">REA di Ancona
              al n. 133105 <span class="GramE">del</span> 06/12/96<o:p></o:p></span></b></h1>
        <h1 style="margin: 0cm 2cm 0.0001pt 21.25pt; text-align: left;
          text-indent: 35.45pt;" align="left"><b><span style="font-size:
              9pt; font-family: &quot;Palatino Linotype&quot;; color:
              rgb(153, 153, 153);">Capitale
              sociale Euro 814.253,16 &nbsp;i.v.<o:p></o:p></span></b></h1>
        <p class="MsoNormal" style="margin-right: -1.45pt; text-align:
          justify;"><span style="font-size: 7.5pt; font-family: Arial;"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal" style="margin-right: -1.45pt; text-align:
          justify;"><span style="font-size: 7.5pt; font-family: Arial;"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal" style="margin-right: -1.45pt; text-align:
          justify;"><span style="font-size: 7.5pt; font-family: Arial;"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal" style="margin: 0cm -1.45pt 0.0001pt 54pt;
          text-align: justify;"><span style="font-size: 7.5pt;
            font-family: Arial;">Ai sensi del D.Lgs. 30 giugno 2003,
            n. 196, &#8220;Codice in materia di protezione dei dati personali&#8221;
            si precisa che le
            informazioni contenute nel messaggio sono riservate e
            destinate esclusivamente
            alla persona od organizzazione sopra indicata. A chi legge
            il presente avviso -
            se non &egrave; l'effettivo destinatario, o un dipendente, o la
            persona responsabile
            della consegna del messaggio - si notifica che sono proibite
            copie,
            distribuzione o divulgazione di quanto in esso contenuto
            (C.P. 616). Se questo
            messaggio Vi &egrave; pervenuto per errore, Vi preghiamo di
            informarci immediatamente,
            di non leggerlo e di distruggerlo. </span><span
            class="GramE"><span style="font-size: 7.5pt; font-family:
              Arial;" lang="EN-GB">Grazie.</span></span><span
            style="font-size: 7.5pt; font-family: Arial;" lang="EN-GB"><o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left: 54pt; text-align:
          justify;"><span style="font-size: 7.5pt; font-family: Arial;"
            lang="EN-GB"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal" style="margin: 6pt 0cm 0.0001pt 54pt;
          text-align: justify;"><i><span style="font-size: 7.5pt;
              font-family: Arial;" lang="EN-US">According
              to Legislative Decree n. 196 of 30 June 2003 about
              &#8220;Personal Data Protection
              Code&#8221; we point out that the information contained in this
              message may be
              privileged and confidential and is intended only for the
              use of the individual
              entity named above. If the reader of this message is not
              the intended
              recipient, or an employee or agent responsible for
              delivering this message to
              the intended recipient, you are hereby notified that any
              dissemination,
              distribution, or copying of this message is strictly
              prohibited. If you have
              received this message in error, please notify us
              immediately and destroy the
              original message. </span></i><i><span style="font-size:
              7.5pt; font-family: Arial;">Thank
              you.<o:p></o:p></span></i></p>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">&nbsp;</p>
      </div>
    </div>
  </body>
</html>