[CMake] CMake, Nmake files and APPVER
Brad King
brad.king at kitware.com
Tue Mar 15 07:59:53 EST 2005
Tanner Lovelace wrote:
> William A. Hoffman said the following on 3/14/05 6:57 PM:
>
>> You could try this:
>> ADD_DEFINITION(-DAPPVER=1)
>> I am not sure what APPVER should be, I suppose
>> you could look in win32.mak and set it to the
>> same thing.
>>
>> -Bill
>
>
> I thought about that, but the problem here is that APPVER isn't
> a define passed to the compiler, it's a define for nmake that
> when you define it and include win32.mak it modifies the standard
> compiler and linker flags to behave in a specific manner.
CMake generates a specific set of flags for each build rule. I doubt
APPVER could do much more than define environment variables for the
compiler. Does it work if you add the inclusion by hand to the makefile?
-Brad
More information about the CMake
mailing list