Re: [CMake] listing of object file targets in an archive.

2010-09-09 Thread Tim St. Clair
nevermind I've figured out a generic way to do what I need, build once and link in multiple locations. MACRO ( SRC_TARGET_REF _TARGET _REFS_EXPR _SRCREFS ) # 1st obtain the srcs get_target_property ( _LSRCS ${_TARGET} SOURCES ) #loop through srouces and check matches foreach ( _TARGET_SRC_FILE

[CMake] listing of object file targets in an archive.

2010-09-09 Thread Tim St. Clair
>From within cmake I see a generation of the .o targets in my makefile, is there any way to get a listing without shelling out to ar? -- Cheers, Timothy St. Clair ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.ki