[CMake] problem: using options other than -D with VS.NET

Brad King brad.king at kitware.com
Fri Oct 15 17:02:46 EDT 2004


Erik van der Wal wrote:
> Brad King wrote:
> 
>> Erik van der Wal wrote:
>>
>>> 2) Is is possible to change this .NET generator to only accept -D 
>>> options, disregarding any other option? Preferably it should also 
>>> give a warning message saying it did disregard some flags.
>>
>>
>> The proper fix is probably to create a new command that doesn't take 
>> the -D options explicitly and then deprecate the original command.
> 
> 
> I agree, but this command will probably stay, because of backwards 
> compatibility. To prevent other people from spending time, looking for 
> strange errors, a warning message would still be preferable (at least 
> for the .net generator) .

On second thought, I think this may simply be a bug in the .NET 
generator.  It should pull out non -D flags and put them in the right 
place in the xml file.  Please submit this as a bug report here:

http://www.cmake.org/Bug

Thanks,
-Brad


More information about the CMake mailing list