[.net] Define from the command line
Hi,
I can't seem to find a way to define a preprocessor variable from the command line when invocing devenv.
In the old days [wink] I could add /D or /U to control my preprocessor defines, but with .NET that option is gone.
How do I go about this? (Required for automated builds using Nant.)
tia,
CipherCraft
Hi,
Those are for C# and VB I'm afraid. I need to build a C++ solution but also need to 'customize' it by specifying different defines.
The only way (I know) of building a C++ solution from the command line is using devenv. Does anyone know of a different way? One where I can specify #define's?
tia,
CipherCraft
Those are for C# and VB I'm afraid. I need to build a C++ solution but also need to 'customize' it by specifying different defines.
The only way (I know) of building a C++ solution from the command line is using devenv. Does anyone know of a different way? One where I can specify #define's?
tia,
CipherCraft
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement