<div dir="ltr">Hi,<div>I am using the UseLATEX package, and I was wondering if there was a way to automatically download the UseLATEX.cmake file to be included in the CMakeLists.txt file. I was thinking of using the ExternalProject module, however, I&#39;m not sure this will work.</div>

<div><br></div><div>When is the external project downloaded? Is this a bad idea? (I&#39;m pretty sure it is...)</div><div><br></div><div>I think this is probably a bad idea and that I should probably just Fork the UseLATEX github git repository, or just the UseLATEX.cmake file, but if anyone has any insight, it would be much appreciated.<br>

<div class="gmail_extra"><br clear="all"><div>Izaak Beekman<br>===================================<br>(301)244-9367<br>Princeton University Doctoral Candidate<br>Mechanical and Aerospace Engineering<br><a href="mailto:ibeekman@princeton.edu" target="_blank">ibeekman@princeton.edu</a><br>

<br>UMD-CP Visiting Graduate Student<br>Aerospace Engineering<br><a href="mailto:ibeekman@umiacs.umd.edu" target="_blank">ibeekman@umiacs.umd.edu</a><br><a href="mailto:ibeekman@umd.edu" target="_blank">ibeekman@umd.edu</a></div>


<br><br><div class="gmail_quote">On Thu, Aug 1, 2013 at 12:00 PM,  <span dir="ltr">&lt;<a href="mailto:cmake-request@cmake.org" target="_blank">cmake-request@cmake.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Send CMake mailing list submissions to<br>
        <a href="mailto:cmake@cmake.org">cmake@cmake.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:cmake-request@cmake.org">cmake-request@cmake.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:cmake-owner@cmake.org">cmake-owner@cmake.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of CMake digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. Custom launcher command for VS2010 (Sybren A. St?vel)<br>
   2. read file content to a variable at build-time (Rothbauer, Stefan)<br>
   3. Re: 2.8.11.2, Visual Studio 9 2008 Win64? (Bill Hoffman)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Thu, 1 Aug 2013 12:09:53 +0200<br>
From: Sybren A. St?vel &lt;<a href="mailto:sybren@stuvel.eu">sybren@stuvel.eu</a>&gt;<br>
Subject: [CMake] Custom launcher command for VS2010<br>
To: <a href="mailto:cmake@cmake.org">cmake@cmake.org</a><br>
Message-ID:<br>
        &lt;CAAAfPCDzCJDAdC8KfrCX47cRzA9ep4ZT6wibR=<a href="mailto:bfRCsJcWV%2BJQ@mail.gmail.com">bfRCsJcWV+JQ@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
<br>
Hi list,<br>
<br>
I&#39;m using Visual Studio 2010 to create Python modules in C++. In order to<br>
&quot;run&quot; those modules, I need to execute something like:<br>
<br>
C:\Python33\python.exe some_script_that_uses_the_module.py<br>
<br>
To generate the VS2010 solution we use CMake. What I&#39;m looking for is to<br>
configure the above command in the Debug settings. I tried using the<br>
CreateLaunchers script from <a href="https://github.com/rpavlik/cmake-modules" target="_blank">https://github.com/rpavlik/cmake-modules</a>, but<br>
unfortunately that doesn&#39;t allow me to override the executable command.<br>
<br>
For example, our unit tests are compiled into an executable, but still need<br>
to be run via a Python script to set up the environment correctly.<br>
Unfortunately the following in my CMake project definition:<br>
<br>
<br>
set_target_properties(${PROJECTNAME}<br>
    PROPERTIES<br>
    LOCATION &quot;${PYTHON_EXECUTABLE}&quot;<br>
    LOCATION_DEBUG &quot;${PYTHON_EXECUTABLE}&quot;<br>
    LOCATION_RELEASE &quot;${PYTHON_EXECUTABLE}&quot;<br>
    LOCATION_RELWITHDEBINFO &quot;${PYTHON_EXECUTABLE}&quot;<br>
)<br>
<br>
create_default_target_launcher(${PROJECTNAME}<br>
    ARGS &quot;run_boost_tests.py&quot;<br>
    WORKING_DIRECTORY &quot;${RAGE_SCRIPTS_DIR}&quot;<br>
)<br>
<br>
still creates the following line in launch-boost_test-Debug.cmd:<br>
<br>
&quot;C:\workspace\rage\build\tests\boost_test\DEBUG\boost_test.exe&quot;<br>
run_boost_tests.py<br>
<br>
but I would like to see:<br>
<br>
&quot;C:\Python33\python.exe&quot; run_boost_tests.py<br>
<br>
Apparently the LOCATION target properties (which are used by the<br>
CreateLaunchers module) are read-only. Is there any way to solve this?<br>
<br>
Best,<br>
--<br>
Sybren A. St?vel<br>
<br>
<a href="http://stuvel.eu/" target="_blank">http://stuvel.eu/</a><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://www.cmake.org/pipermail/cmake/attachments/20130801/8b79b095/attachment-0001.htm" target="_blank">http://www.cmake.org/pipermail/cmake/attachments/20130801/8b79b095/attachment-0001.htm</a>&gt;<br>


<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Thu, 1 Aug 2013 14:07:31 +0000<br>
From: &quot;Rothbauer, Stefan&quot; &lt;<a href="mailto:stefan.rothbauer@siemens.com">stefan.rothbauer@siemens.com</a>&gt;<br>
Subject: [CMake] read file content to a variable at build-time<br>
To: &quot;<a href="mailto:cmake@cmake.org">cmake@cmake.org</a>&quot; &lt;<a href="mailto:cmake@cmake.org">cmake@cmake.org</a>&gt;<br>
Message-ID:<br>
        &lt;<a href="mailto:13B93FFB94978C46804A139A3E45E44C0137A6@DEFTHW99EI1MSX.ww902.siemens.net">13B93FFB94978C46804A139A3E45E44C0137A6@DEFTHW99EI1MSX.ww902.siemens.net</a>&gt;<br>
<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
Hello,<br>
<br>
I set up cmake to use a external project. This 3rd party library writes out a file which contains all include paths set by this library. For the master cmake project I need to read this information at build time into a cmake variable to set the include directories correctly.<br>


Is there a way to do this?<br>
I checked into External_Project_Add_Step but couldn?t find a solution.<br>
I can?t use FILE(READ.) either since the file with include paths is generated when cmake configures the 3rd party library.<br>
Execute_Process (cat .) can?t be used because the context switch destroys the information.<br>
<br>
Thanks for any hints!<br>
<br>
Best regards,<br>
<br>
Stefan<br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Thu, 01 Aug 2013 10:49:57 -0400<br>
From: Bill Hoffman &lt;<a href="mailto:bill.hoffman@kitware.com">bill.hoffman@kitware.com</a>&gt;<br>
Subject: Re: [CMake] 2.8.11.2, Visual Studio 9 2008 Win64?<br>
To: <a href="mailto:cmake@cmake.org">cmake@cmake.org</a><br>
Message-ID: &lt;<a href="mailto:51FA7595.6080208@kitware.com">51FA7595.6080208@kitware.com</a>&gt;<br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
On 7/31/2013 7:59 PM, Michael R. Dilworth wrote:<br>
&gt; Building a 64bit version of cmake,  however a 32bit version worked before ~2.8.8<br>
&gt; (sorry it&#39;s late...)<br>
You should not need a 64bit cmake.  The 32 bit version should build<br>
64/32 bits.   I am not sure what you are looking for?<br>
<br>
<br>
-Bill<br>
<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
CMake mailing list<br>
<a href="mailto:CMake@cmake.org">CMake@cmake.org</a><br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
<br>
End of CMake Digest, Vol 112, Issue 2<br>
*************************************<br>
</blockquote></div><br></div></div></div>