Annotation of previous_trunk/cmake/DistClean.cmake, revision 1.1

1.1     ! root        1: #
        !             2: # "distclean" target for removing the generated files from CMake
        !             3: #
        !             4: 
        !             5: if(UNIX)
        !             6:        add_custom_target(distclean  COMMENT "Cleaning up for distribution")
        !             7:        # Clean up Hatari specific files:
        !             8:        foreach(CLEAN_FILE  config.h install_manifest.txt
        !             9:                        src/hatari src/cpu/build68k
        !            10:                        src/cpu/cpudefs.c src/cpu/cpuemu_??.c
        !            11:                        src/cpu/cpustbl.c src/cpu/cputbl.h
        !            12:                        src/cpu/gencpu tools/hmsa/hmsa)
        !            13:                add_custom_command(TARGET distclean POST_BUILD
        !            14:                        COMMAND rm -f ${CLEAN_FILE}
        !            15:                        DEPENDS clean)
        !            16:        endforeach(CLEAN_FILE)
        !            17:        # Clean up files that can appear at multiple places:
        !            18:        foreach(CLEAN_FILE  CMakeFiles CMakeCache.txt '*.a' '*.1.gz'
        !            19:                        cmake_install.cmake Makefile)
        !            20:                add_custom_command(TARGET distclean POST_BUILD
        !            21:                        COMMAND find . -depth -name ${CLEAN_FILE} | xargs rm -rf
        !            22:                        DEPENDS clean)
        !            23:        endforeach(CLEAN_FILE)
        !            24: endif(UNIX)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.