Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

defaultplatform does not work with gmake #943

Closed
ghost opened this issue Nov 9, 2017 · 0 comments
Closed

defaultplatform does not work with gmake #943

ghost opened this issue Nov 9, 2017 · 0 comments

Comments

@ghost
Copy link

ghost commented Nov 9, 2017

Hello,
in my project I'm using following code to set default platform based on OS type:

if os.is64bit() then
    defaultplatform "x86_64"
else
    defaultplatform "x86"
end

When used with Visual Studio target (eg. vs2017), this correctly sets default platform based on OS type. However, with gmake target the default platform always remains x86. This happens on both Linux and Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants