Hi,

Does anyone know how to add an explicit reference to a pre-existing
object file (no related source file) to the link?

I've tried:

        ADD_EXECUTABLE(myapp mysrc1.c mysrc2. myexisiting.o)

If I perform the above CMake complains it doesn't know how to build
myexisiting.o.

FYI, my myexisiting.o is an embedded compiler's startup code that is
delivered as a pre-built object.

 - TrevK
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to