<div dir="ltr"><span style="font-size:12.8px">Folks,</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">A relatively simple problem, but so far I've had little success. So, in my ctest.cmake script, I have the following:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>set(CTEST_CONFIGURE_COMMAND "conan install ${CTEST_SOURCE_DIRECTORY}")</div><div>set(CTEST_CONFIGURE_COMMAND "${CTEST_CONFIGURE_COMMAND}; ${CMAKE_COMMAND} ${CTEST_SOURCE_DIRECTORY}")</div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I am forced to run 'conan' (a C++ package manager) before I run cmake during the ctest_configure() step. I attempt to string two commands together using either ';' or '&&' - established ways of chaining commands at the command line.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Try as I may, ctest fails every time with the following error message:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Error(s) when configuring the project</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">No further details are provided.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">The commands, individually are correct. However it appears that something is failing internally in ctest_configure() when running the two commands together.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I was wondering if any of you had encountered the problem, and if so, what solution can be found.</div><div class="gmail-yj6qo gmail-ajU" style="margin:2px 0px 0px;font-size:12.8px"></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Best,<div><br></div><div>Stephen Henry</div><div><i>Mobile: <span id="gmail-gc-number-30" class="gmail-gc-cs-link" title="Call with Google Voice"><span id="gc-number-31" class="gc-cs-link" title="Call with Google Voice">(650) 305 1588</span></span></i></div><div><i>Skype: stephenry0</i></div></div></div>
</div>