This commit is contained in:
2016-09-10 20:35:42 +02:00
parent 5821f20967
commit d39fa4697a
48 changed files with 1876 additions and 503 deletions

View File

@@ -0,0 +1 @@
true

View File

@@ -0,0 +1 @@
true

14
scripts/fake-toolchain/Unix/cc Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/sh
if [ ! -z "$YCM_CONFIG_GEN_CC_PASSTHROUGH" ]; then
# Cmake determines compiler properties by compiling a test file, so call clang for this case
$YCM_CONFIG_GEN_CC_PASSTHROUGH $@
elif [ "$1" = "-v" ] || [ "$1" = "--version" ]; then
# Needed to enable clang-specific options for certain build systems (e.g. linux)
$YCM_CONFIG_GEN_CC_PASSTHROUGH $@
else
echo "$@" >> $YCM_CONFIG_GEN_CC_LOG
fi

View File

@@ -0,0 +1 @@
cc

View File

@@ -0,0 +1 @@
cxx

14
scripts/fake-toolchain/Unix/cxx Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/sh
if [ ! -z "$YCM_CONFIG_GEN_CC_PASSTHROUGH" ]; then
# Cmake determines compiler properties by compiling a test file, so call clang for this case
$YCM_CONFIG_GEN_CXX_PASSTHROUGH $@
elif [ "$1" = "-v" ] || [ "$1" = "--version" ]; then
# Needed to enable clang-specific options for certain build systems (e.g. linux)
$YCM_CONFIG_GEN_CC_PASSTHROUGH $@
else
echo "$@" >> $YCM_CONFIG_GEN_CXX_LOG
fi

View File

@@ -0,0 +1 @@
cxx

View File

@@ -0,0 +1 @@
cc

View File

@@ -0,0 +1 @@
cxx

View File

@@ -0,0 +1 @@
true

View File

@@ -0,0 +1 @@
true

View File

@@ -0,0 +1,4 @@
#!/bin/sh
# This script is needed because /bin/true does not exist on non-FHS-compliant distros. e.g. NixOS
exit 0