Skip to content
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

Use CMake as buildsystem #57

Open
TheKnarf opened this issue Aug 31, 2020 · 4 comments
Open

Use CMake as buildsystem #57

TheKnarf opened this issue Aug 31, 2020 · 4 comments

Comments

@TheKnarf
Copy link

Picking a build system that can work on all operating systems would be a first step in the direction of making Transcendence cross-platform.

@gmoromisato
Copy link
Member

I would love that! Can you drive that?

First I'd love to know how it interacts with Visual Studio. Is there a plug in? Is it just compatible? How do you add more files? Do you edit the make file or can you do it with the Visual Studio UI? Would love to know more.

The actual build steps are pretty standard, so I think the actual port would be relatively straight forward.

Thanks!

@TheKnarf
Copy link
Author

CMake can generate a Visual Studio project file from the CMakeFile, there's no need for a plugin in Visual Studio. However, if you want to add a file (or remove, or move it) you would have to do that in the CMakeFIle and then re-run CMake to get a new Visual Studio file. Similarly, it could generate an XCode-project on MacOS, thereby supporting cross-platform.

@gmoromisato
Copy link
Member

Can we automatically generate a CMakeFile from a Visual Studio project/solution?

@TheKnarf
Copy link
Author

TheKnarf commented Sep 1, 2020

Not as far as I know. So it's a manual job to make CMakeFile's from a Visual Studio project, but then the other way should be automatic.

@TheKnarf TheKnarf closed this as completed Sep 1, 2020
@TheKnarf TheKnarf reopened this Sep 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants