With, add_executable(.... foo.o), I got:
Undefined symbols:
"func(thrust::host_vector<float, std::allocator<float> >&)", referenced
from:
_main in main.cpp.o
ld: symbol(s) not found
Ted
2010/11/14 Alexander Neundorf <[email protected]>
> On Sunday 14 November 2010, Ted Kord wrote:
> > Hello
> >
> > 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:
> >
> > add_executable(.... foo.o)
>
> This should work.
> What error did you get ?
>
> Alex
>
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake