Hello<div><br></div><div>I have an object file which I'd like to link in during compilation of my executable. I'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 "....... foo.o")</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>