[LLVMdev] [LLVMDev] Trouble Linking

Óscar Fuentes ofv at wanadoo.es
Fri Oct 15 10:43:09 PDT 2010


Jeff Kunkel <jdkunk3 at gmail.com> writes:

> - I placed my code in the the existing CodeGen library.

Ok.

> - No, it is not in the CMakeLists.txt. The code is separate from the
> rest of the CodeGen code, but it is linked into the code gen library
> automatically through the visual studio linker.

If your source code is on a separate file, and that file is not listed
on the CMakeLists.txt file, it is not being compiled.

> Perhaps something
> funny is going on here. I will try placing the code directly in the
> library, and I will include it to the CMakeLists.txt.

I'm confused. What means "placing the code directly in the library"?

Please describe where you wrote your code, specifying file names and
directories.




More information about the llvm-dev mailing list