[CMake] Call multiple Makefile

Xavier Larrode Xavier.Larrode at irisa.fr
Thu Jul 27 05:40:32 EDT 2006


Hi all,
I have a  general Makefile wich is doing that :

REPERTOIRES = \
$(VAR)/src/common/share/folder1 \
$(VAR)/src/common/share/folder2 \
[...]

normal :
    for i in $(REPERTOIRES); do \
          echo "=================================="; \
    echo "Compiling $$i..."; \
          echo "=================================="; \
    cd $$i && make  ; \
  done
  @echo "***************************************************"

clean :
  for i in $(REPERTOIRES); do \
          echo "=================================="; \
    echo "Cleaning $$i..."; \
          echo "=================================="; \
    cd $$i && make clean ; \


And i was wonderning if there is a simple way to do that in Cmake
Thanks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Xavier.Larrode.vcf
Type: text/x-vcard
Size: 169 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/cmake/attachments/20060727/b1567c99/Xavier.Larrode-0001.vcf


More information about the CMake mailing list