mirror of https://gitlab.com/ita1024/waf.git
Add support for GNU/kFreeBSD
Where default compiler is gcc
This commit is contained in:
parent
3a036329e4
commit
ae97dbf59b
|
@ -36,18 +36,19 @@ from waflib import Utils
|
||||||
from waflib.Logs import debug
|
from waflib.Logs import debug
|
||||||
|
|
||||||
c_compiler = {
|
c_compiler = {
|
||||||
'win32': ['msvc', 'gcc', 'clang'],
|
'win32': ['msvc', 'gcc', 'clang'],
|
||||||
'cygwin': ['gcc', 'clang'],
|
'cygwin': ['gcc', 'clang'],
|
||||||
'darwin': ['clang', 'gcc'],
|
'darwin': ['clang', 'gcc'],
|
||||||
'aix': ['xlc', 'gcc', 'clang'],
|
'aix': ['xlc', 'gcc', 'clang'],
|
||||||
'linux': ['gcc', 'clang', 'icc'],
|
'linux': ['gcc', 'clang', 'icc'],
|
||||||
'sunos': ['suncc', 'gcc'],
|
'sunos': ['suncc', 'gcc'],
|
||||||
'irix': ['gcc', 'irixcc'],
|
'irix': ['gcc', 'irixcc'],
|
||||||
'hpux': ['gcc'],
|
'hpux': ['gcc'],
|
||||||
'osf1V': ['gcc'],
|
'osf1V': ['gcc'],
|
||||||
'gnu': ['gcc', 'clang'],
|
'gnu': ['gcc', 'clang'],
|
||||||
'java': ['gcc', 'msvc', 'clang', 'icc'],
|
'java': ['gcc', 'msvc', 'clang', 'icc'],
|
||||||
'default':['clang', 'gcc'],
|
'gnukfreebsd': ['gcc', 'clang'],
|
||||||
|
'default': ['clang', 'gcc'],
|
||||||
}
|
}
|
||||||
"""
|
"""
|
||||||
Dict mapping platform names to Waf tools finding specific C compilers::
|
Dict mapping platform names to Waf tools finding specific C compilers::
|
||||||
|
|
|
@ -37,18 +37,19 @@ from waflib import Utils
|
||||||
from waflib.Logs import debug
|
from waflib.Logs import debug
|
||||||
|
|
||||||
cxx_compiler = {
|
cxx_compiler = {
|
||||||
'win32': ['msvc', 'g++', 'clang++'],
|
'win32': ['msvc', 'g++', 'clang++'],
|
||||||
'cygwin': ['g++', 'clang++'],
|
'cygwin': ['g++', 'clang++'],
|
||||||
'darwin': ['clang++', 'g++'],
|
'darwin': ['clang++', 'g++'],
|
||||||
'aix': ['xlc++', 'g++', 'clang++'],
|
'aix': ['xlc++', 'g++', 'clang++'],
|
||||||
'linux': ['g++', 'clang++', 'icpc'],
|
'linux': ['g++', 'clang++', 'icpc'],
|
||||||
'sunos': ['sunc++', 'g++'],
|
'sunos': ['sunc++', 'g++'],
|
||||||
'irix': ['g++'],
|
'irix': ['g++'],
|
||||||
'hpux': ['g++'],
|
'hpux': ['g++'],
|
||||||
'osf1V': ['g++'],
|
'osf1V': ['g++'],
|
||||||
'gnu': ['g++', 'clang++'],
|
'gnu': ['g++', 'clang++'],
|
||||||
'java': ['g++', 'msvc', 'clang++', 'icpc'],
|
'java': ['g++', 'msvc', 'clang++', 'icpc'],
|
||||||
'default': ['clang++', 'g++']
|
'gnukfreebsd': ['g++', 'clang++'],
|
||||||
|
'default': ['clang++', 'g++']
|
||||||
}
|
}
|
||||||
"""
|
"""
|
||||||
Dict mapping the platform names to Waf tools finding specific C++ compilers::
|
Dict mapping the platform names to Waf tools finding specific C++ compilers::
|
||||||
|
|
Loading…
Reference in New Issue