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] windows fixes #92

Merged
merged 24 commits into from
May 17, 2020
Merged

[cmake] windows fixes #92

merged 24 commits into from
May 17, 2020

Conversation

simogasp
Copy link
Member

@simogasp simogasp commented May 11, 2020

Some fixes for windows. These changes are also meant to comply with the in-progress vcpkg port
microsoft/vcpkg#10979

Most notably:

  • some fixes to ensure a full static build under windows, the proper linker flags are now correctly propagated

  • remove unsupported flags for nvcc under MSVC like -fPic and c++11

  • ci on appveyor now testing release and debug

  • incidentally it fixes CMake: Demo program not built as PIE #49 by propagating the proper -pie and -fPIE flags

@simogasp simogasp marked this pull request as ready for review May 15, 2020 18:09
@fabiencastan fabiencastan merged commit 9838498 into develop May 17, 2020
@fabiencastan fabiencastan deleted the ci/win/addDebug branch May 17, 2020 18:17
@simogasp simogasp modified the milestones: v1.0.0, v0.9.1 Mar 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CMake: Demo program not built as PIE
2 participants