<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.59">
<TITLE>CMake Project With just CMakeLists.txt files</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">Is there anyway to create a project that contains only the CMakeLists.txt file without any sources/headers?&nbsp; We have an external Plugins directory within our repository which we do not want to combine with the core programs sources.&nbsp; </FONT></P>

<P><U><FONT SIZE=2 FACE="Arial">Directory Structure</FONT></U>

<BR><FONT SIZE=2 FACE="Arial">Plugins_dir -&gt; plugin 1 subdirectory&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&gt; sources &amp; CMakeLists.txt</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&gt; plugin 2 subdirectory&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&gt; sources &amp; CMakeLists.txt</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp; -&gt; plugin 3 subdirectory&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&gt; sources &amp; CMakeLists.txt</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp; -&gt; plugin etc. subdirectory&nbsp; -&gt; sources &amp; CMakeLists.txt</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp; -&gt; CMakeLists.txt&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">The CMakeLists.txt within the plugin directory has the following structure:</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2 FACE="Arial">SUBDIRS(Plugin 1)</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2 FACE="Arial">SUBDIRS(Plugin 2)</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2 FACE="Arial">SUBDIRS(Plugin 3)</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2 FACE="Arial">SUBDIRS(Plugin etc.)</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">We would like to include the CMakeLists.txt from the Plugins_dir in a blank project called &quot;Plugins.&quot;&nbsp; This is so we can add new project plugins without leaving Visual Studio.&nbsp; </FONT></P>
<BR>
<BR>

</BODY>
</HTML>