← Back to team overview

dolfin team mailing list archive

[Question #134012]: How to Link in an Object File in Cmake

 

New question #134012 on DOLFIN:
https://answers.launchpad.net/dolfin/+question/134012

I have an object file generated by nvcc, which I'd like to link in during compilation of the executable. I've tried adding it to each of the commands below with no success for any:

add_executable(....  foo.o)

set(CMAKE_CXX_FLAGS ".......   foo.o")

target_link_libraries(....   foo.o)

Is there a way to do this?

Ted


-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.