Hello,<div><br></div><div>I have a library which provides some static library (.a) and a program object file (.o).</div><div>The .o is needed to compile the project which migrates from autotools to cmake but I don't know </div>
<div>how adding properly this file into my CMakelist.</div><div>My current solution is to add the file.o to CMAKE_C_FLAGS.</div><div>For example :</div><div>set(CMAKE_C_FLAGS "-g -Wall file.o")</div><div><br></div>
<div>But I hope there is a better solution.</div><div>Of course, I have'nt the file needed to generate this file.o.</div><div><br></div><div>Any advices?</div><div><br></div><div>Thank you</div><div><br></div><div>David</div>
<div><br></div><div>---------</div><div>cmake 2.6.4</div><div>gcc 4</div><div>---------</div><div><br></div><div><br></div><div><br></div>