<div dir="ltr">Unfortunately you will need to separate them at the directory levels.</div><br><div class="gmail_quote"><div dir="ltr">On Wed, Nov 30, 2016 at 4:29 PM Dmitry Mikulin via lldb-dev <<a href="mailto:lldb-dev@lists.llvm.org">lldb-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br class="gmail_msg">
<br class="gmail_msg">
I’m trying to conditionally add source files to the lldb build based on a cmake configure time variable. I get the following type of errors for all sources not included in the build:<br class="gmail_msg">
<br class="gmail_msg">
CMake Error at cmake/modules/LLVMProcessSources.cmake:83 (message):<br class="gmail_msg">
Found unknown source file<br class="gmail_msg">
/homes/dmitrym/buildspace/llvm-tot/llvm/tools/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp<br class="gmail_msg">
<br class="gmail_msg">
Please update<br class="gmail_msg">
/homes/dmitrym/buildspace/llvm-tot/llvm/tools/lldb/source/Plugins/Process/FreeBSD/CMakeLists.txt<br class="gmail_msg">
<br class="gmail_msg">
Is there a way to work around/fix it or do I need to separate the files at the directory level?<br class="gmail_msg">
<br class="gmail_msg">
Thanks.<br class="gmail_msg">
Dmitry.<br class="gmail_msg">
<br class="gmail_msg">
_______________________________________________<br class="gmail_msg">
lldb-dev mailing list<br class="gmail_msg">
<a href="mailto:lldb-dev@lists.llvm.org" class="gmail_msg" target="_blank">lldb-dev@lists.llvm.org</a><br class="gmail_msg">
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev</a><br class="gmail_msg">
</blockquote></div>