开发者

How to define macro for C project in autotools?

开发者 https://www.devze.com 2023-01-09 13:59 出处:网络
How do I define macros on a per-pro开发者_运维百科ject, or per file level in a C project using autotools?

How do I define macros on a per-pro开发者_运维百科ject, or per file level in a C project using autotools?

Presently I have this: mount_cpfs_CPPFLAGS = -DFUSE_USE_VERSION=28, but I'm not sure that this is the "portable" way to define a C macro.


Consider using generated header files with AC_DEFINE.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号