https://github.com/Kitware/CMake
Revision 8b21aa0af00a6366c301241bab081f2daae6104c authored by Brad King on 02 October 2018, 18:50:23 UTC, committed by Brad King on 02 October 2018, 18:58:11 UTC
When a CSharp target links to a static C++ library, CMake will compute the link language as C++ instead of CSharp. That may be incorrect and needs further investigation, but it does not affect how VS drives C# linking. However, it does break our flag language selection logic and causes C++ flags to be used for CSharp. In particular, this drops the `-platform:x86` flag on 32-bit builds. Fix this by always selecting the CSharp flags when generating a `.csproj` project type. Issue: #18239
1 parent f478fa6
Tip revision: 8b21aa0af00a6366c301241bab081f2daae6104c authored by Brad King on 02 October 2018, 18:50:23 UTC
VS: Fix CSharp flag selection when linking to a static C++ library
VS: Fix CSharp flag selection when linking to a static C++ library
Tip revision: 8b21aa0
File | Mode | Size |
---|---|---|
Doxygen | ||
Git | ||
GitSetup | ||
IWYU | ||
KWIML | ||
Release | ||
Scripts | ||
Sphinx | ||
cmbzip2 | ||
cmcompress | ||
cmcurl | ||
cmexpat | ||
cmjsoncpp | ||
cmlibarchive | ||
cmliblzma | ||
cmlibrhash | ||
cmlibuv | ||
cmvssetup | ||
cmzlib | ||
.NoDartCoverage | -rw-r--r-- | 39 bytes |
.clang-tidy | -rw-r--r-- | 208 bytes |
.gitattributes | -rw-r--r-- | 234 bytes |
CMakeLists.txt | -rw-r--r-- | 1.1 KB |
SetupForDevelopment.sh | -rwxr-xr-x | 416 bytes |
cmThirdParty.h.in | -rw-r--r-- | 695 bytes |
cm_bzlib.h | -rw-r--r-- | 365 bytes |
cm_curl.h | -rw-r--r-- | 376 bytes |
cm_expat.h | -rw-r--r-- | 369 bytes |
cm_jsoncpp_reader.h | -rw-r--r-- | 409 bytes |
cm_jsoncpp_value.h | -rw-r--r-- | 405 bytes |
cm_jsoncpp_writer.h | -rw-r--r-- | 409 bytes |
cm_kwiml.h | -rw-r--r-- | 443 bytes |
cm_libarchive.h | -rw-r--r-- | 479 bytes |
cm_lzma.h | -rw-r--r-- | 371 bytes |
cm_rhash.h | -rw-r--r-- | 383 bytes |
cm_uv.h | -rw-r--r-- | 361 bytes |
cm_xmlrpc.h | -rw-r--r-- | 357 bytes |
cm_zlib.h | -rw-r--r-- | 358 bytes |
Computing file changes ...