Am 22.11.2011 11:42, schrieb t m:
Hi Community,
In the large project we a having periodic taks which build a couple
of
projects and store the result of the build in one specific place.
Once it's build the rest of the team can use this artifacts becouse
those are exported by using of export(TARGETS ...)
Since the others refer only to the targets I would like to clean-up
the common builds from optional artifacts in order to save some disk
space.
I guess the objects could be removed. The problem is that "make
clean"
will clean also executables and libraries, so it's not an option for
me.
1) Is there any way to get all objects files as a list, so I can
remove them in the loop ?
2) Is there any other way to cope with this clean-up ?
Looking for hints.
Make different trees for build and export (aka installation to a
specific location to be used by others). Then you can easily delete the
build tree.
HS
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake