ó
{›í]c           @   sZ   d  Z  d d l Z d d l m Z m Z m Z d d l m Z e d „  ƒ Z d „  Z	 d S(   s    
Detects the Intel C++ compiler
iÿÿÿÿN(   t   ccroott   art   gxx(   t   confc         C   s8   |  j  d d d ƒ} |  j | d t ƒd |  j _ d S(   sF   
	Finds the program icpc, and execute it to ensure it really is icpc
	t   icpct   vart   CXXt   iccN(   t   find_programt   get_cc_versiont   Truet   envt   CXX_NAME(   R   t   cxx(    (    s/   /git_repos/drobillad/ingen/waflib/Tools/icpc.pyt	   find_icpc   s    c         C   sJ   |  j  ƒ  |  j ƒ  |  j ƒ  |  j ƒ  |  j ƒ  |  j ƒ  |  j ƒ  d  S(   N(   R   t   find_art   gxx_common_flagst   gxx_modifier_platformt   cxx_load_toolst   cxx_add_flagst   link_add_flags(   R   (    (    s/   /git_repos/drobillad/ingen/waflib/Tools/icpc.pyt	   configure   s    





(
   t   __doc__t   syst   waflib.ToolsR    R   R   t   waflib.ConfigureR   R   R   (    (    (    s/   /git_repos/drobillad/ingen/waflib/Tools/icpc.pyt   <module>   s
   	