Skip to content

[cmake] windows fixes#92

Merged
fabiencastan merged 24 commits intodevelopfrom
ci/win/addDebug
May 17, 2020
Merged

[cmake] windows fixes#92
fabiencastan merged 24 commits intodevelopfrom
ci/win/addDebug

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