示例#1
0
        def setup():
            # Skip if the files have not changed since last build
            to_update = [d_file + 'i']
            triggers = [to_native(t) for t in i_files]
            if not FS.is_outdated(to_update, triggers):
                return False

            return True
示例#2
0
        def setup():
            # Skip if the files have not changed since last build
            to_update = [to_native(o_file)]
            triggers = [to_native(t) for t in cxx_files + i_files]
            if not FS.is_outdated(to_update, triggers):
                return False

            # Create the output directory if it does not exist
            FS.create_path_dirs(o_file)

            return True