mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
aee0a22ad2b92e9fd6d72d92d996c31ada677a39
* Preserve existing release flags in MSVC Without this the `/MD` flag is lost on Release builds, resulting in the below error when using a Ninja CMake generator with VS2019 compiler. Before replacement `/MD /O2 /Ob2 /DNDEBUG`, after replace `/MD /Od /Ob0 /DNDEBUG` ``` harness.lib(testHarness.cpp.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in test_conversions.cpp.obj ``` * Remove Visual Studio 2005 release flag workarounds
Description
Languages
C++
84.5%
C
14.7%
CMake
0.5%
Python
0.3%