-
-
Notifications
You must be signed in to change notification settings - Fork 764
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows下shared目标缺少定义_WINDLL宏 #5333
Labels
Comments
xmake 默认不会加任何内置定义的, 也不会保证必须跟 vs 的配置保持同步,你可以自己配置上。 |
xmake does not add any built-in definitions by default, nor does it guarantee that it must be synchronized with the vs configuration. You can configure it yourself. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Xmake 版本
2.9.3
操作系统版本和架构
Windows
描述问题
通过vs新建的动态库工程会自动包含名为Windows Dynamic Link Library,实则为Microsoft.Cpp.WinDLL.props的属性表,这个属性表会增加定义_WINDLL宏,但目前set_kind(“shared")中并没有
期待的结果
设置set_kind(“shared")后,如果是使用vs进行编译,则增加_WINDLL宏
工程配置
.
附加信息和错误日志
.
The text was updated successfully, but these errors were encountered: