Hi All,<div><br></div><div>I&#39;ve been using CMake for a little while now, but not with python.</div><div><br></div><div>I have something like this in my CMakeLists.txt file...</div><div><br></div><div><div><span class="Apple-style-span" style="font-family: &#39;courier new&#39;, monospace;">message(STATUS &quot; ${III} Loading FUNCWIRE_MINION...&quot;)</span></div>
<div><span class="Apple-style-span" style="font-family: &#39;courier new&#39;, monospace;"><br></span></div><div><span class="Apple-style-span" style="font-family: &#39;courier new&#39;, monospace;">if(ENABLE_FUNCWIRE_MINION)</span></div>
<div><span class="Apple-style-span" style="font-family: &#39;courier new&#39;, monospace;">&nbsp;&nbsp;message(STATUS &quot; &nbsp; ${GGG} Python build...&quot;)</span></div><div><span class="Apple-style-span" style="font-family: &#39;courier new&#39;, monospace;">&nbsp;&nbsp;execute_process(COMMAND cd ${CMAKE_SOURCE_DIR}/funcwire-minion/ &amp;&amp; ${PYTHON} setup.py build)</span></div>
<div><span class="Apple-style-span" style="font-family: &#39;courier new&#39;, monospace;">endif(ENABLE_FUNCWIRE_MINION)</span></div><div><span class="Apple-style-span" style="font-family: &#39;courier new&#39;, monospace;"><br>
</span></div><div><span class="Apple-style-span" style="font-family: &#39;courier new&#39;, monospace;">install(CODE &quot;EXECUTE_PROCESS(COMMAND cd ${CMAKE_SOURCE_DIR}/funcwire-minion/ &amp;&amp; ${PYTHON} setup.py install)&quot;)</span></div>
<div><br></div><div>...however it doesn&#39;t quite work, before putting too much work into finding what the problem is, could someone point out if I&#39;m even on the right track, or if there is a better way to do this?</div>
<div><br></div><div>Nima<br></div><div><br></div>-- <br>Nima Talebi</div><div><a href="http://ai.autonomy.net.au/">http://ai.autonomy.net.au/</a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br><br>
</div>