摘要 |
The invention is applied to the field of software, and provides a method and a device for generating an integrated development environment (IDE) engineering file and a solution file. The method comprises the following steps of: defining a compiling parameter of a project file according to a normalized template; selecting an IDE tool for use; analyzing a configuration file and initializing system context information according to the IDE tool; checking and ordering dependencies among project modules to generate an ordered list so as to finish the system context initialization; and recursively generating the engineering file and the solution file of the IDE tool according to the ordered list. In the embodiment of the invention, the compiling parameter of the project file is defined according to the normalized template; the system context information is initialized by analyzing the configuration file; the dependencies among the project modules are checked and ordered to finish the system context initialization; and the engineering file and the solution file of the IDE tool are recursively generated according to the generated ordered list. |