[CMake] Variable with created object files
Christoph Cullmann
cullmann at absint.com
Mon May 19 07:32:25 EDT 2008
Hi,
If have following cmake file:
AUX_SOURCE_DIRECTORY(src SOURCES)
ADD_LIBRARY(aitraceerwin
lib/init
lib/map
lib/vector
lib/list
lib/base
${SOURCES}
)
Now I need a variable containing all object files created during the compile
of aitraceerwin library, or in other words all object files matching to the
passed sources. Best pratice for that? (I could imagine some regex on the
sources, but for example on unix you get .o, on windows .obj files somewhere,
is there a better way)
cu
Christoph
--
-------------------------------------- Christoph Cullmann ---------
AbsInt Angewandte Informatik GmbH Email: cullmann at AbsInt.com
Science Park 1 Tel: +49-681-38360-22
66123 Saarbrücken Fax: +49-681-38360-20
GERMANY WWW: http://www.AbsInt.com
--------------------------------------------------------------------
Geschäftsführung: Dr.-Ing. Christian Ferdinand
Eingetragen im Handelsregister des Amtsgerichts Saarbrücken, HRB 11234
More information about the CMake
mailing list