freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "James K. Lowden" <jklowden AT schemamania.org>
- To: freetds AT lists.ibiblio.org
- Subject: Re: [freetds] freetds in win32
- Date: Thu, 6 Feb 2003 14:20:33 -0500
On Thu, 06 Feb 2003 09:25:22 -0800, "Frank M. Kromann"
<frank AT kromann.info> wrote:
> > Is MSVC's build system really so
> > brain dead that it can't handle such a task?
>
> No. MSVC can handle custom builds calling all sorts of external
> commands, including copy.
Right, it's just not very obvious.
>From memory, in Project|Settings, go to the last two tabs. They are
something like "pre-build script" and "post-build script". Enter there
any command or .CMD file you want executed. Something along these lines
might work:
<snip>
set src=include
set tgt=src\win32
rem Rename the files while copying to a temporary place
xcopy %src%\*.h.in %tgt%\tmp\*.
rem Use "replace" to avoid overwriting targets
rem that were updated manually.
rename %tgt%\tmp\*.h %tgt%
rem Cleanup
del %tgt%\tmp\*.h
rmdir %tgt%\tmp 2> NUL:
rem feedback:
dir /s/b %tgt%\..\*.h
</snip>
I'm not making this up. (!)
Let's not have copies of files in the source tree. :-)
--jkl
-
RE: [freetds] freetds in win32
, (continued)
-
RE: [freetds] freetds in win32,
Gad Hayisraeli, 02/06/2003
-
RE: [freetds] freetds in win32,
Frediano Ziglio, 02/06/2003
-
RE: [freetds] freetds in win32,
Gad Hayisraeli, 02/06/2003
- RE: [freetds] freetds in win32, Frediano Ziglio, 02/06/2003
-
RE: [freetds] freetds in win32,
Gad Hayisraeli, 02/06/2003
-
RE: [freetds] freetds in win32,
Frediano Ziglio, 02/06/2003
-
RE: [freetds] freetds in win32,
Gad Hayisraeli, 02/06/2003
- Re: [freetds] freetds in win32, James K. Lowden, 02/06/2003
-
RE: [freetds] freetds in win32,
Coleman, Dave, 02/05/2003
- RE: [freetds] freetds in win32, Gad Hayisraeli, 02/06/2003
- RE: [freetds] freetds in win32, Castellano, Nicholas, 02/06/2003
-
RE: [freetds] freetds in win32,
Frank M. Kromann, 02/06/2003
- Re: [freetds] freetds in win32, James K. Lowden, 02/06/2003
-
Re: [freetds] freetds in win32,
Frank M. Kromann, 02/06/2003
- Re: [freetds] freetds in win32, Frediano Ziglio, 02/06/2003
- Re: [freetds] freetds in win32, Frank M. Kromann, 02/06/2003
- RE: [freetds] freetds in win32, Castellano, Nicholas, 02/06/2003
- Re: [freetds] freetds in win32, Frank M. Kromann, 02/06/2003
- RE: [freetds] freetds in win32, Lowden, James K, 02/07/2003
-
RE: [freetds] freetds in win32,
Lowden, James K, 02/07/2003
-
Re: [freetds] freetds in win32,
Steve Langasek, 02/07/2003
- RE: [freetds] freetds in win32, Gad Hayisraeli, 02/09/2003
-
Re: [freetds] freetds in win32,
Steve Langasek, 02/07/2003
- RE: [freetds] freetds in win32, Frank M. Kromann, 02/07/2003
-
RE: [freetds] freetds in win32,
Gad Hayisraeli, 02/06/2003
Archive powered by MHonArc 2.6.24.