flatbuffers/conan
06393993 5f6672be44
Fix Clang-Cl compile on Windows (#7308)
Introduce a MSVC_LIKE variable in the CMake scripts, set that variable to
true only if the compiler is either MSVC or tries to emulate the MSVC
command line, and test that variable when setting compiler arguments.

Tested with cmake .. -G Ninja -DCMAKE_C_COMPILER:PATH="clang-cl.exe" -DCMAKE_CXX_COMPILER:PATH="clang-cl.exe" -DFLATBUFFERS_BUILD_TESTS=OFF -DFLATBUFFERS_BUILD_CPP17=ON

Co-authored-by: Kaiyi Li <kaiyili@google.com>
2022-08-05 22:08:36 -07:00
..
appveyor Conan build packages on CI (#4590) (#4594) 2018-08-16 12:17:52 -07:00
test_package Conan build packages on CI (#4590) (#4594) 2018-08-16 12:17:52 -07:00
travis Conan build packages on CI (#4590) (#4594) 2018-08-16 12:17:52 -07:00
CMakeLists.txt Fix Clang-Cl compile on Windows (#7308) 2022-08-05 22:08:36 -07:00
build.py attempt to remove appveyor (#7056) 2022-01-31 21:52:15 -08:00