Building this way will make the DLLs compatible with SEH, so there will be no need to use /SAFESEH:NO when compiling your code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Cross toolchain configuration for using clang-cl on non-Windows hosts to | |
| # target MSVC. | |
| # | |
| # Usage: | |
| # cmake -G Ninja | |
| # -DCMAKE_TOOLCHAIN_FILE=/path/to/this/file | |
| # -DHOST_ARCH=[aarch64|arm64|armv7|arm|i686|x86|x86_64|x64] | |
| # -DSYSROOT=/path/to/win/sysroot | |
| # -DMSVC_VER=vc tools version folder name | |
| # -DWINSDK_VER=windows sdk version folder name |