alecthomas / alecthomas/entityx

Shared library not working in Windows

未关闭
#246 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C++
星标
2.3k
派生
301
PR 合并指标
30 天内没有已合并 PR

描述

EntityX is in ConanCenter: https://conan.io/center/entityx

But the shared library build has been removed for Windows: https://github.com/conan-io/conan-center-index/blob/ff8bf5423a93bd972099a16f2a7b2646d53b7f69/recipes/entityx/all/conanfile.py#L52

Removing those lines, the output shows as the result of CMake install:
```
-- Install configuration: "Release"
-- Installing: C:/.../lib/pkgconfig/entityx.pc
-- Installing: C:/.../include/entityx
-- Installing: C:/.../include/entityx/deps
-- Installing: C:/.../include/entityx/deps/Dependencies.h
...
-- Installing: C:/.../include/entityx/System.h
-- Installing: C:/.../include/entityx/tags
-- Installing: C:/.../include/entityx/tags/TagsComponent.h
-- Installing: C:/.../bin/entityx.dll
```

Further inspection shows that the .lib static library is not being created at all. The ENTITYX_BUILD_SHARED is being defined.

Is this intended behavior? I can see that shared libraries are working fine in other platforms, is shared .dll library support for Windows? Thanks!

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。