[flang-commits] [flang] [clang] [flang][windows] Add option to link against specific MSVC CRT (PR #70833)

Brad King via flang-commits flang-commits at lists.llvm.org
Thu Nov 2 06:49:22 PDT 2023


================
@@ -1,3 +1,21 @@
 add_flang_library(Fortran_main STATIC INSTALL_WITH_TOOLCHAIN
   Fortran_main.c
 )
+if (DEFINED MSVC)
+    add_flang_library(Fortran_main.static STATIC INSTALL_WITH_TOOLCHAIN
+            Fortran_main.c
+    )
----------------
bradking wrote:

The style elsewhere seems to use 2 spaces for indentation.

https://github.com/llvm/llvm-project/pull/70833


More information about the flang-commits mailing list