Adding icl to compile wrapper script
"Peyton, Jonathan L" <[email protected]>
| Newsgroups | gmane.comp.sysutils.automake.patches |
|---|---|
| Message-ID | <E721F964DFCE0143863414635137A1C71A4EA9C8@CRSMSX101.amr.corp.intel.com> |
Hello automake developers, I have this patch which adds icl (Windows Intel Compiler) to the lib/compile wrapper script. Icl has a Visual Studio driver interface and supports all the flags that are translated inside the compile script. It also doesn't support the '-o -c' idiom similar to the Visual Studio compiler so I think it is a good candidate for this wrapper script. -- Johnny
add-icl-to-compile-script.patch
(application/octet-stream, 353 B)
diff --git a/lib/compile b/lib/compile
index 69fad9c..8a7013e 100755
--- a/lib/compile
+++ b/lib/compile
@@ -258,6 +258,9 @@ EOF
cl | *[/\\]cl | cl.exe | *[/\\]cl.exe )
func_cl_wrapper "$@" # Doesn't return...
;;
+ icl | *[/\\]icl | icl.exe | *[/\\]icl.exe )
+ func_cl_wrapper "$@" # Doesn't return...
+ ;;
esac
ofile=