Skip to content

OpenSpiel makefile #1188

Answered by lanctot
LucasCelestinoSE asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @LucasCelestinoSE,

Yes it would be difficult to pull a game out on its own because several of them depend on other things in the code base, but mainly, the core API.

The best way to do this would be to, first, build OpenSpiel as a C++ library. Then have a separate project with its own Makefile (or CMakeLists.txt) that links against the OpenSpiel shared library. You can copy over the game that you want into your project, modify it however you like, give it a different name, and then load it under the new name.

I hope this helps. If not, please elaborate on what you'd like to do in more detail.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lanctot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants