Re: [CMake] Add a .obj file to a library

2007-03-13 Thread Anton Deguet
I tried a couple more things. Since the paths were compounded I assumed this was because I could only add files defined with a relative path (wrt the source directory). So I tried to convert the absolute path into a relative path using: FILE(RELATIVE_PATH

[CMake] Add a .obj file to a library

2007-03-09 Thread Anton Deguet
Hello, I am trying to add a pre-compiled object in a library. I am generating a solution for Microsoft Visual Studio .net 2003 using CMake 2.4.5. I used FIND_FILE to locate the .obj file and then simply add it to the list of source files for my library. I found a couple of