How to Link in an Object File in Cmake
Asked by
Ted Kord
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_
Is there a way to do this?
Ted
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Ted Kord
- Solved:
- Last query:
- Last reply:
To post a message you must log in.