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.
Several minor changes to fix debug Windows builds:
OE:SILVERLINING
andOE::TRITON
imported libraries with properly set debug librariesCMAKE_CONFIG_POSTFIX
applied again, preventing a debug make install executable from overwriting a release mode executable of same nameBefore 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.