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

Add Eclipse project files #4925

Closed
DorpsGek opened this issue Dec 30, 2011 · 5 comments
Closed

Add Eclipse project files #4925

DorpsGek opened this issue Dec 30, 2011 · 5 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) patch from FlySpray This issue is in fact a Patch, but imported from FlySrpay

Comments

@DorpsGek
Copy link
Member

NG opened the ticket and wrote:

I've created OpenTTD project files for Eclipse to the benefit of those who can't run Visual Studio. The Make target must be selected through ant, all currently available in the OpenTTD Makefile are enabled. I'm not sure how many options for configure should be put in, so there's none except the default right now.

To open the project, do "Import/General/Existing Project" and go to the directory, I'll probably add to the wiki if this gets in.

Attachments

Reported version: trunk
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/4925
@DorpsGek
Copy link
Member Author

Alberth wrote:

The trouble with such a patch is maintenance.
The current build scripts are all used by the developers, which means it is regularly tested for working properly.

We don't have developers using Eclipse currently, so your configuration will not be used.
This also means we don't have a simple way of testing and correcting it, when people report it being broken.

I think the best way to make it available now for others is to add it to the wiki, perhaps together with a forum post about it.


This comment was imported from FlySpray: https://bugs.openttd.org/task/4925#comment10638

@DorpsGek
Copy link
Member Author

NG wrote:

Could you at least add the XML file used by ant? It's easily understandable and editable and really just a frontend for the regular "configure"/"make" command.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/4925#comment10640

@DorpsGek
Copy link
Member Author

DorpsGek commented Jan 1, 2012

peter1138 wrote:

Okay, I never used Eclipse before, but I downloaded it, and patched OpenTTD. How does one actually open it up?


This comment was imported from FlySpray: https://bugs.openttd.org/task/4925#comment10644

@DorpsGek
Copy link
Member Author

DorpsGek commented Jan 1, 2012

NG wrote:

First of all, you need the C++ development plugins (a guide for that is already at http://wiki.openttd.org/Eclipse).
Then, if you only want the XML file (although that alone isn't too useful), just do "Open File" and you should see the available Make targets at the bottom left. Right-click and select "Run As/1 Ant Build" for whatever you want.
If you want the whole project, follow the directions above (to reiterate: Import/General/Existing Project into Workspace, Next, Root directory (navigate to OpenTTD source directory), Finish). Updating the project file is then as easy as a click on the project and pressing F5.

If you're using Windows, you probably need to enter the MinGW tools into PATH and add the MinGW include/library directories to the "configure" command in build.xml.


This comment was imported from FlySpray: https://bugs.openttd.org/task/4925#comment10648

@DorpsGek
Copy link
Member Author

andythenorth closed the ticket.

Reason for closing: Won't implement

Lacking a sponsor to implement this.


This comment was imported from FlySpray: https://bugs.openttd.org/task/4925

@DorpsGek DorpsGek added flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) Build system patch from FlySpray This issue is in fact a Patch, but imported from FlySrpay labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) patch from FlySpray This issue is in fact a Patch, but imported from FlySrpay
Projects
None yet
Development

No branches or pull requests

1 participant