On Thursday 10 May 2007 14:50, Trevor Kellaway wrote: > Bill, > > > >> I'd personally like is some standard ways to get at *.obj locations > > > > 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... > > Does that mean this is supported in the dev tree? > > I tried this with "cmake version 2.5-20070505" but it didn't work, I > also tried > > GET_TARGET_PROPERTY (myobj myfile.c OBJECT_FILES)
GET_TARGET_PROPERTY(objectFiles <targetName> OBJECT_FILES) should work Alex _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake