diff --git a/init.py b/init.py index e724623..e5aa525 100755 --- a/init.py +++ b/init.py @@ -71,6 +71,9 @@ if __name__ == '__main__': accumulated += [f'"-D{key}={val}"' for key, val in vars.items()] accumulated += args + cmds = [ + f"cp {os.path.join(self_dir, 'CACHEDIR.tag.in')} CACHEDIR.tag", + f"cmake {source_dir} {' '.join(accumulated)}", + ] - print(f"cmake {source_dir} {' '.join(accumulated)}") - print(f"cp {os.path.join(self_dir, 'CACHEDIR.tag.in')} CACHEDIR.tag") + print(" && ".join(cmds))