Trevor Kellaway wrote:
Brandon,

I'd personally like is some standard ways to get at *.obj locations
...

Seconded, I also have a case where I'd like to determine the location of
.obj files.

I could predict this most of the time until I started pulling in source
files from relative paths outside the CMakeLists.txt lib directory, then
CMake started embeddeding the huge full path under the current binary
directory and this broke this approach.

Also, is there are a way of recovering the current include and define
lists?
get_target_properties(foo PROPERTIES OBJECT_FILES objs)

I did make an attempt at this, and it worked well for makefiles, but I had trouble with Xcode
and visual studio I think...

-Bill

_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to