views:

36

answers:

2

Hi. I has been a C++ and Python developer for a looong time, and after this many years the place I feel most comfortable for developing is the old good gvim and the command line. I was wondering if there is some sort of tool for setting up projects quickly. Something like generating a bunch of files where a few things can change their values: the project name for example.

A: 

I would suspect that most modern Integrated Development Environments would support something like this.

Andre Holzner
Probably; but none of them fit me. I have used very powerful ones, like Visual Studio in all his editions, but as I told before, I usually integrate multiple languages and tools in one project, and no IDE make things easier there. So, that's why that's not the point of my question.
dignor.sign
If at the end of the day you are going to use an IDE for coding, you should consider providing helper scripts to fit what the IDE generates to what you need. If you are going to code with an editor and the command line, then consider writing your own scripts with your past experience.
David Rodríguez - dribeas
A: 

Why don't you write your own tool with some scripting language?

I have done it by tailoring GNU makefiles trying to push most of the logic outside of the project. Then have a small script that generates directories and writes simple makefiles that set a couple of variables and then includes the pre-generated makefiles.

You might want to consider instead of producing makefiles directly, generating files for other intermediate system like CMake or SCONS, as those will be able to abstract the differences from one system to another.

David Rodríguez - dribeas
Even easier: copy an existing project directory structure to a new directory structure, clean out the unwanted files, run sed to modify the remaining ones. I expect this is a few keystrokes with vim.
High Performance Mark
I have tried bjam, cmake and scons. And they are all great. Nowadays I use scons, which is a dream-replacement to Makefiles and it is so agile that I don't really feel the need for an IDE. But that said, every time I start a new project, I have to copy my scripts from an old one and modify them. It is really not big deal to make a script for that, but I was just curious to know if there is some established way...
dignor.sign