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

Maybe move to CMake or something similar? #320

Closed
argumentofperiapsis opened this issue Oct 3, 2017 · 10 comments
Closed

Maybe move to CMake or something similar? #320

argumentofperiapsis opened this issue Oct 3, 2017 · 10 comments
Assignees
Labels
enhancement Improvement of existing feature or adding something new

Comments

@argumentofperiapsis
Copy link

argumentofperiapsis commented Oct 3, 2017

I think that we shall start moving to CMake or other automated build system, instead of hardcoding everything in the makefile. Because it is REALLY hard to make snap work with current makefile! Also,
using provided libraries is a complete mess!

@nesbox
Copy link
Owner

nesbox commented Oct 3, 2017

Totally agree, the problem I'm not a Linux guy, that's why my makefile looks so weird 😛
Also, I don't have any experience with CMake, so, any help would be appreciated

@ysblokje
Copy link

ysblokje commented Oct 7, 2017

If you want, I can do it for you this weekend. I started a fork with a feature branch. cmake branch
At least for linux / windows targets, no experience with cmake and android (yet).

@nesbox
Copy link
Owner

nesbox commented Oct 8, 2017

@ysblokje awesome, thank you 👍

@ysblokje
Copy link

ysblokje commented Oct 8, 2017

@nesbox can you tell me what mingw environment you were using to build it under/for windows?
I now have a working build on linux (64bit), though it crashes on the export command.

@nesbox
Copy link
Owner

nesbox commented Oct 8, 2017

Mingw 32bit

@ysblokje
Copy link

ysblokje commented Oct 11, 2017

I've got the whole project to compile on both my linux box (arch) and on windows using VS2017 community edition. I tried with mingw and I almost got there, but I'm no expert on windows so I decided to drop that for the moment.
For some reason though the program crashes so I'm forced to use the software renderer on windows, that might be it's because the windows machine is a virtual one :)

@ysblokje
Copy link

Sorry to keep closing the PR.
aussiebloke and I are trying to merge our cmake effort.
That would make cmake for Linux, Windows and apple products.

@frenetic
Copy link
Contributor

@ysblokje how are things going?

@nesbox nesbox self-assigned this May 17, 2018
@nesbox nesbox added the enhancement Improvement of existing feature or adding something new label May 17, 2018
nesbox added a commit that referenced this issue May 18, 2018
@armadsen
Copy link
Contributor

I just tried the #320 branch on macOS. Happy to report that cmake -G Xcode creates an Xcode project that successfully builds TIC-80. I didn't have to make any changes after a fresh checkout.

I think this will make contributing to TIC-80 easier for people on macOS (certainly for me, where Xcode is my primary IDE).

@nesbox
Copy link
Owner

nesbox commented Sep 4, 2018

TIC moved to use Cmake

@nesbox nesbox closed this as completed Sep 4, 2018
@nesbox nesbox removed this from the 0.80.0 milestone Jul 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement of existing feature or adding something new
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

5 participants