2014-11-12 09:30:55 UTC
In our development environment, we have to support multiple platforms like
Make-based, Visual Studio, Eclipse CDT and Keil uVision. CMake seems
perfect to support this. But obviously there is no generator for uVision.
Here comes the fun part: I am going to implement a generator for it :-)
Looking at the code of cmake, I identified cmGlobalGenerator and
cmLocalGenerator as a base "hock" to start off. But actually I am looking
for higer-level starting-point. Could you help me to identify one based on
the information for uVision:
- uVision does not use makefiles.
- Multiproject Workspace: Kind of like a VisualStudio-solution. It is a
xml-file basically just naming the projects contained in to workspace.
Here's how it looks like:
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<Header>### uVision Project, (C) Keil Software</Header>
- Then there is a project-file, also xml. One sub-section of it names the
files contained within the project.
This part looks like this:
- Then there is an option-file. In there, there is also some reference to
the source-files. But I guess once I am able to create the project-file
entries, generating the option-files is trivial.
If anyone could guide me to a good starting point, that would be awesome!
Thanks a lot in advance!