Mover - Project Translator - A script by D.G. Sureau Free open-source - May 1 2000 - May 2003
This program changes directories of files used by a C project
into other directories and updates the include statements.
The syntax is:
mover mainfile.c origpath@destpath [ origpath@destpath ]*
The source file it the one that holds the main function.
It is followed by a list of couples:
original path @ destination path
Example:
c:\gui @ t:\ide
All files of the project, (from which the main source is dependent),
will be moved according to the couple given at command line.
The #include statements will be updated according to the changes in
directories.
The files may be grouped into an unique directory:
mover mainfile.c \lister@\newlister \gui@\newlister
A path in the form "..\gui" may be changed into an absolute path.
Warnings:
- Mover must be ran from C to C++ scripts directory.
- Under Windows the project and mover must stand on the same disk.
- Take care to the \ and / symbols in paths, according to the
operating system.