taichi-dev / taichi-aot-demo

A demo illustrating how to use Taichi as an AOT shader compiler
Apache License 2.0
71 stars 17 forks source link

[build] Fix dependency between aot file generation and copy #120

Closed ailzhang closed 1 year ago

ailzhang commented 1 year ago

According to https://cmake.org/cmake/help/latest/command/add_custom_command.html, add_custom_command doesn't take TARGET and DEPENDS at the same time but cmake didn't complain, sigh...

PENGUINLIONG commented 1 year ago

cmake is killing me

ailzhang commented 1 year ago

Verified a few times in https://github.com/taichi-dev/taichi/pull/7469, merging to see if it fixes it permanently.