diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2023-07-23 22:41:55 +0200 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2023-07-23 22:54:07 +0200 |
commit | 6d195137fe21d6169bc43a928141c006efc7c1f2 (patch) | |
tree | 14fdc386630742b9cfd06c38bc87af7566207188 /tools/ios_osxcross.py | |
parent | 3162be28e594bf5b17889117670fc6f2d75f2f0c (diff) | |
download | redot-cpp-6d195137fe21d6169bc43a928141c006efc7c1f2.tar.gz |
[SCons] Merge OSXCross tools into platofrm ones
Diffstat (limited to 'tools/ios_osxcross.py')
-rw-r--r-- | tools/ios_osxcross.py | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/tools/ios_osxcross.py b/tools/ios_osxcross.py deleted file mode 100644 index 21a3f5e..0000000 --- a/tools/ios_osxcross.py +++ /dev/null @@ -1,26 +0,0 @@ -import os - - -def options(opts): - opts.Add("ios_triple", "Triple for ios toolchain", "") - - -def exists(env): - return "OSXCROSS_IOS" in os.environ - - -def generate(env): - compiler_path = "$IOS_TOOLCHAIN_PATH/usr/bin/${ios_triple}" - env["CC"] = compiler_path + "clang" - env["CXX"] = compiler_path + "clang++" - env["AR"] = compiler_path + "ar" - env["RANLIB"] = compiler_path + "ranlib" - env["SHLIBSUFFIX"] = ".dylib" - - env.Prepend( - CPPPATH=[ - "$IOS_SDK_PATH/usr/include", - "$IOS_SDK_PATH/System/Library/Frameworks/AudioUnit.framework/Headers", - ] - ) - env.Append(CCFLAGS=["-stdlib=libc++"]) |