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

cmake backend: Generate 64 bits build when appropiate #383

Merged
merged 4 commits into from
Jun 25, 2015

Conversation

ignacio
Copy link
Contributor

@ignacio ignacio commented Jun 8, 2015

Adds -DCMAKE_GENERATOR_PLATFORM=x64 when needed. It seems that CMake does not do that by default (although I might be wrong on that).

fixes #382

@ignacio
Copy link
Contributor Author

ignacio commented Jun 18, 2015

Again, this is not entirely ok. The decision to choose 32/64 target depends on whether the Lua binary in use is 32/64 bits.

@ignacio
Copy link
Contributor Author

ignacio commented Jun 25, 2015

After #397 has been merged, this one is good to go.

Adds -DCMAKE_GENERATOR_PLATFORM=x64 when needed. It seems that
CMake does not do that by default (although I might be wrong on that).

fixes luarocks#382
Only when using Windows 64 bits and the msvc compiler. CMake
uses the x86 generator by default. We need to tell it explicitly
that we wan't to use the x64 generator.

refs luarocks#382
@ignacio
Copy link
Contributor Author

ignacio commented Jun 25, 2015

Rebased to master.

ignacio added a commit that referenced this pull request Jun 25, 2015
cmake backend: Generate 64 bits build when appropiate
@ignacio ignacio merged commit 030dda2 into luarocks:master Jun 25, 2015
@ignacio ignacio deleted the cmake_64 branch June 25, 2015 22:03
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

Successfully merging this pull request may close these issues.

cmake build does not generate 64 bit build for windows.
1 participant