链接CMakeProject和MakeFile项目

发布于 2025-02-10 21:05:48 字数 817 浏览 0 评论 0 原文

我有一个项目需要使用gambit-project的纳什均衡解决功能 这是一个至关重要的应用程序,因此我必须以某种方式将我的代码库与gambit链接。

我的实际用例对我来说很简单。该文件夹中有一个具有我需要的所有顶级功能的可执行文件。

问题是我是CMAKE的新手,通常是C ++。此外,Gambit是一个不使用CMAKE的非常成熟的项目。相反,它使用自己的制造文件,很难解析。

我的项目在这里: https://github.com/baskub.com/baskit/surskit/blob/blob/blob/blob /master/cmakelists.txt

cmakelists.txt非常基本(一半评论了此提交),

而gambit项目在这里: https://github.com/gambitproject/gambit 在此处使用所需的源文件:

我希望在不深入研究这两个项目的情况下可以链接这两个项目。

I’ve got a project that needs to use the Nash Equilibrium solving capabilities of Gambit-Project
This is a performance critical application, so I have to somehow link my codebase with Gambit.

My actual use case sounds simple to me. There is one executable in the folder that has all the top level functions that I need.

The problem is that I am new to Cmake, and C++ in general. Additionally, Gambit is a very mature project that does not use Cmake; Instead, it uses its own make file which is quite difficult to parse.

My project is here: https://github.com/baskuit/surskit/blob/master/CMakeLists.txt

The CMakeLists.txt is very rudimentary (and half commented out this commit)

And Gambit project is here: https://github.com/gambitproject/gambit
with the required source file here: https://github.com/gambitproject/gambit/tree/master/src/tools/enummixed

I’m hoping that there is someway to link these two projects without delving into that heinous makefile.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文