premake 32-bit configuration name - x86 or Win32 ?

92 views
Skip to first unread message

Tarmo Pikaro

unread,
Aug 7, 2017, 7:04:51 AM8/7/17
to Premake Development
Hi !

I have two .lua scripts, in both I configure some of projects inside.

Both lua's get x32 configuration inside, but one solution gets configuration named as "x86" ( C# style ) and another solution gets "Win32" ( C++ style ).

Can you tell me how I can force always to use "Win32" instead of "x86" - is it some sort of auto probe in premake5 ?


starkos

unread,
Aug 7, 2017, 12:22:17 PM8/7/17
to Premake Development
It would be helpful to see a minimal Premake script example that demonstrates the problem.

Tom van Dijck

unread,
Aug 7, 2017, 12:30:57 PM8/7/17
to Premake Development
Also, just to make sure we take out this possibility... 
I would no longer use the "x32" and "x64" aliases, and instead use the "x86" and "x86_64" values that premake uses... 
While the aliases SHOULD work, you never know if all if statements are taking the aliases into account...

Reply all
Reply to author
Forward
0 new messages