Hello<div><br></div><div>I have an object file which I&#39;d like to link in during compilation of my executable. I&#39;ve tried adding it to each of the commands below with no success for any:</div><div><br></div><div>add_executable(....  foo.o)</div>
<div><br></div><div>set(CMAKE_CXX_FLAGS &quot;.......   foo.o&quot;)</div><div><br></div><div>target_link_libraries(....   foo.o)</div><div><br></div><div>Is there a way to do this?</div><div><br></div><div>Ted</div><div>
<br></div><div><br></div>