#101904 - Izhido - Fri Sep 08, 2006 8:09 pm
Hi everyone! :)
Now that I'm finally with some free time from my job, I wanted to tell you all about a tool I created with/for Visual C++ 2005 Express, and for use with devkitPro. I called it vc2mkfil. It's purpose is to read settings from a .vcproj file, the project settings file created by Visual Studio 2005 for C++ projects (and, of course, created for Visual C++ 2005 Express), to create a Makefile that devkitPro's build tools will recognize.
I've built this tool because us, Visual Studio users, usually prefer to manage source code files, header files, include paths, library paths, and such, from within Visual Studio itself. And, by doing this, some often-looked features that Visual Studio users expect from the IDE, become available; features like Intellisense, the "Open Document <xxxxxx.h>", "Go To Definition", "Go To Declaration", "Go To Header File", and so on, that VS users like me find very useful.
I posted a message in dslinux.org's forum containing a zip file. It has the tool executable, the VC++ project it was built on, and the "/examples/nds/templates/arm9/" devkitPro project built with VC++ showing how to use the tool. This is the post:
http://www.dslinux.org/index.php?showtopic=1825
vc2mkfil itself was built as a command-line tool, that receives an input file (or stdin, if required), outputs to an output file (or stdout, if required), and at least two specific -parameters to determine how to generate the makefile.
This is just a initial release, and currently it only supports generating a makefile for a NDS ARM9 only target. It, however, should work just fine. The tool will set:
VPATH, CFILES, CPPFILES, and SFILES with the contents of the Solution Explorer;
INCLUDE with Project-Properties-Configuration Properties-NMake-Include Search Path;
LIBDIRS Project-Properties-Configuration Properties-NMake-Assembly Search Path;
LIB with Project-Properties-Configuration Properties-NMake-Forced Using Assemblies;
BUILD with whatever $ConfigurationName (Debug or Release, typically) was specified.
This should behave as a regular devkitPro Makefile, with all behaviors / constrainsts imposed by devkitPro like they have always been.
I know for a fact that this tool works for me. It definitively made my life easier when building NDS projects with devkitPro. Actually I'm looking for comments from you all. Does this tool sound like something you might use? Do you think you have some time to test this tool on your project? Was it useful? Because, if enough people of the dev community think it's useful, I'd like to contribute this project to devkitPro so it becomes part of it. Of course, once it's finished... :) Is that a good idea? Please let me know.
(NOTE: I posted this message some minutes ago to dslinux.org's forum. But you already know that :) I'm very interested on hearing of all of the DS & GBA homebrew community... )
Now that I'm finally with some free time from my job, I wanted to tell you all about a tool I created with/for Visual C++ 2005 Express, and for use with devkitPro. I called it vc2mkfil. It's purpose is to read settings from a .vcproj file, the project settings file created by Visual Studio 2005 for C++ projects (and, of course, created for Visual C++ 2005 Express), to create a Makefile that devkitPro's build tools will recognize.
I've built this tool because us, Visual Studio users, usually prefer to manage source code files, header files, include paths, library paths, and such, from within Visual Studio itself. And, by doing this, some often-looked features that Visual Studio users expect from the IDE, become available; features like Intellisense, the "Open Document <xxxxxx.h>", "Go To Definition", "Go To Declaration", "Go To Header File", and so on, that VS users like me find very useful.
I posted a message in dslinux.org's forum containing a zip file. It has the tool executable, the VC++ project it was built on, and the "/examples/nds/templates/arm9/" devkitPro project built with VC++ showing how to use the tool. This is the post:
http://www.dslinux.org/index.php?showtopic=1825
vc2mkfil itself was built as a command-line tool, that receives an input file (or stdin, if required), outputs to an output file (or stdout, if required), and at least two specific -parameters to determine how to generate the makefile.
This is just a initial release, and currently it only supports generating a makefile for a NDS ARM9 only target. It, however, should work just fine. The tool will set:
VPATH, CFILES, CPPFILES, and SFILES with the contents of the Solution Explorer;
INCLUDE with Project-Properties-Configuration Properties-NMake-Include Search Path;
LIBDIRS Project-Properties-Configuration Properties-NMake-Assembly Search Path;
LIB with Project-Properties-Configuration Properties-NMake-Forced Using Assemblies;
BUILD with whatever $ConfigurationName (Debug or Release, typically) was specified.
This should behave as a regular devkitPro Makefile, with all behaviors / constrainsts imposed by devkitPro like they have always been.
I know for a fact that this tool works for me. It definitively made my life easier when building NDS projects with devkitPro. Actually I'm looking for comments from you all. Does this tool sound like something you might use? Do you think you have some time to test this tool on your project? Was it useful? Because, if enough people of the dev community think it's useful, I'd like to contribute this project to devkitPro so it becomes part of it. Of course, once it's finished... :) Is that a good idea? Please let me know.
(NOTE: I posted this message some minutes ago to dslinux.org's forum. But you already know that :) I'm very interested on hearing of all of the DS & GBA homebrew community... )