diff options
| author | Stéphan Kochen <stephan@kochen.nl> | 2012-05-20 19:29:06 +0200 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2013-02-24 17:47:53 +0100 |
| commit | 6af382ade1d350091545dd24ab79020bda7825f2 (patch) | |
| tree | 2582399d9586e535db006b469a2285c945075eb6 | |
| parent | 8ca79336533b891b0cc11ccccf178b661777185a (diff) | |
| download | zcatch-6af382ade1d350091545dd24ab79020bda7825f2.tar.gz zcatch-6af382ade1d350091545dd24ab79020bda7825f2.zip | |
Clang driver support.
| -rw-r--r-- | configure.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.lua b/configure.lua index 26825b06..2db70cc4 100644 --- a/configure.lua +++ b/configure.lua @@ -376,6 +376,8 @@ function OptCCompiler(name, default_driver, default_c, default_cxx, desc) SetDriversCL(settings) elseif option.driver == "gcc" then SetDriversGCC(settings) + elseif option.driver == "clang" then + SetDriversClang(settings) else error(option.driver.." is not a known c/c++ compile driver") end @@ -393,7 +395,7 @@ function OptCCompiler(name, default_driver, default_c, default_cxx, desc) local printhelp = function(option) local a = "" if option.desc then a = "for "..option.desc end - print("\t"..option.name.."=gcc|cl") + print("\t"..option.name.."=gcc|cl|clang") print("\t\twhat c/c++ compile driver to use"..a) print("\t"..option.name..".c=FILENAME") print("\t\twhat c compiler executable to use"..a) |