Thijs Schreijer <thijs@...> writes:

 
> 
> LR should automatically detect Win version and set the WINVER variable.
This value should be overrideable
> by the commandline or the config file.
> Then including the defines;
>    defines = { "WINVER=$(WINVER)" }
> is up to the rockspec author.
> 
> Is this incompatible? Isn't it just another build-in variable?
> 

Well yes. I only concern about current version of luarocks. While luarocks
does not define WINVER users will receive warnings and luarocks would
generate not useful compile string. So if there way to detect if variable is
defined from rockspec this is would be very convenient.
E.g. 
  local WINVER = DEFINED"$(WINVER)" and "$(WINVER)" or "0x501"
  ...
  defines = { "WINVER=" .. WINVER }



------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to