SCons: Enable modules for iOS

This commit is contained in:
Sergey Minakov 2020-06-22 23:15:52 +03:00
parent 571a0c60c0
commit a678ceaeae
1 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,9 @@ iphone_lib = [
env_ios = env.Clone()
ios_lib = env_ios.add_library("iphone", iphone_lib)
# (iOS) Enable module support
env_ios.Append(CCFLAGS=["-fmodules", "-fcxx-modules"])
def combine_libs(target=None, source=None, env=None):
lib_path = target[0].srcnode().abspath