我通过命令行脚本编译一个 STM32H7Cube 官方示例工程,发现CM7 和 CM4 的每个工程配置都会被编译两次:CM7 的 Release 版本编译两次,接着 CM7 的 Debug 版本编译两次,CM4 的工程也是同样的情况。
正常行为是:每个工程的每种编译配置仅执行一次编译。
路径:STM32CubeH7/Projects/STM32H747I-DISCO/Examples/GPIO/GPIO_EXTI (master)$ ./build_all.bat | grep 'Build'
$ ./build_all.bat | grep 'Build'
Building All Projects...
Project: GPIO_EXTI doesn't appear to be a CDT project. Skipping...
11:23:18 **** Build of configuration Release for project GPIO_EXTI_CM7 ****
11:23:20 Build Finished. 0 errors, 0 warnings. (took 1s.946ms)
11:23:20 **** Build of configuration Release for project GPIO_EXTI_CM7 ****
11:23:20 Build Finished. 0 errors, 0 warnings. (took 246ms)
11:23:21 **** Build of configuration Debug for project GPIO_EXTI_CM7 ****
11:23:23 Build Finished. 0 errors, 0 warnings. (took 2s.35ms)
11:23:23 **** Build of configuration Debug for project GPIO_EXTI_CM7 ****
11:23:24 Build Finished. 0 errors, 0 warnings. (took 239ms)
11:23:24 **** Build of configuration Release for project GPIO_EXTI_CM4 ****
11:23:25 Build Finished. 0 errors, 0 warnings. (took 1s.437ms)
11:23:25 **** Build of configuration Release for project GPIO_EXTI_CM4 ****
11:23:25 Build Finished. 0 errors, 0 warnings. (took 243ms)
11:23:26 **** Build of configuration Debug for project GPIO_EXTI_CM4 ****
11:23:27 Build Finished. 0 errors, 0 warnings. (took 1s.713ms)
11:23:27 **** Build of configuration Debug for project GPIO_EXTI_CM4 ****
11:23:28 Build Finished. 0 errors, 0 warnings. (took 239ms)
|
|