如何给某个源文件设置单独的优化等级
#4662
-
例如上面的配置,如果src下有三个.c(main.c, test1.c和test2.c),请问如何将test1.c这一个源文件的优化等级设置为-O0 (none) |
Beta Was this translation helpful? Give feedback.
Answered by
waruqi
Jan 28, 2024
Replies: 1 comment
-
add_files("src/test1.c", {optimize = "none"}) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
TinyMiao
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
add_files("src/test1.c", {optimize = "none"})