<div dir="ltr"><div>I'm running into somewhat of an arcane problem at the moment. </div><div><br></div><div>The setup:</div><div>* I have a source file that is autogenerated. In this case it is event_log_msg_if.ac.cpp.</div>
<div>* I have marked the cpp as autogenerated via the 'set_source_files_properties' api</div><div>* I have an add_library(foo /path/to/file/event_log_msg_if.ac.cpp)</div><div><br></div><div>Any idea why I'm getting an "No rule to make target" for this? It looks like cmake doesn't have a rule to build .cpp files. Could the .ac.cpp cause an issue?</div>
<div><br></div><div><br></div><div>Excerpt of output:</div><div><br></div><div>Scanning dependencies of target event_log</div><div>[ 65%] Building CXX object event_log/CMakeFiles/event_log.dir/local/ac/event_log_msg_if.ac.cpp.o</div>
<div>make[2]: *** No rule to make target `../event_log/event_log/local/ac/event_log_msg_if.ac.cpp', needed by `event_log/CMakeFiles/event_log.dir/event_log/local/ac/event_log_msg_if.ac.cpp.o'. Stop.</div><div>make[1]: *** [event_log/CMakeFiles/event_log.dir/all] Error 2</div>
<div><br></div><div><br></div><div><br></div><div>Thomas Taranowski | 425-442-9209 | skype: thomas.taranowski | <a href="http://baringforge.com" target="_blank">baringforge.com</a><br><br></div>
</div>