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: Debug Windows Build Fixes #2543

Merged
merged 1 commit into from
May 21, 2024
Merged

Conversation

emminizer
Copy link
Contributor

Several minor changes to fix debug Windows builds:

  • New OE:SILVERLINING and OE::TRITON imported libraries with properly set debug libraries
  • Executables now get CMAKE_CONFIG_POSTFIX applied again, preventing a debug make install executable from overwriting a release mode executable of same name
  • Minor modernization cleanup on else/endif statements

Before this, debug builds of osgEarth failed due to linking to release mode SilverLining and Triton on Windows.

Tested on Windows MSVC 2022 and Linux EL8 gcc 12.2.1.

…s working properly. Minor cleanup on modern style. Executables now get the CMAKE_DEBUG_POSTFIX again.
@gwaldron gwaldron merged commit 016b3e1 into gwaldron:b-cmake May 21, 2024
2 of 3 checks passed
gwaldron pushed a commit to VTMAK/osgearth that referenced this pull request May 22, 2024
…s working properly. Minor cleanup on modern style. Executables now get the CMAKE_DEBUG_POSTFIX again. (gwaldron#2543)
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.

2 participants