FS#6577 - KDevelop 4 project files generator

Attached to Project: OpenTTD
Opened by adf88 (adf88) - Monday, 26 June 2017, 10:28 GMT
Type Patch
Category BuildĀ system
Status New
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


This patch integrates a tool into OpenTTD build system for generating KDevelop 4 project files. The tool is similar to the one that generates MSVC projects. It can be used directly or with 'make'. Requires 'sh' shell.

Usage through 'make':

make kdev

Direct usage:

./kdevelop/generate [PROJECT_NAME|-h|--help]

PROJECT_NAME is the name of the project that will be displayed in KDevelop.
Before executing, cd into OpenTTD folder and run ./configure script.

-h, --help
print help and exit

Alternatively to the 'kdev-gen.diff' patch, you can use a bundled script 'kdev-gen' which is attached too.
This task depends upon