Add test case for ninja bug with cmake custom_command
Merge branch 'ninja'