We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f75a02d commit 99f99dfCopy full SHA for 99f99df
ios.toolchain.cmake
@@ -156,7 +156,8 @@
156
cmake_minimum_required(VERSION 3.8.0)
157
158
# CMake invokes the toolchain file twice during the first build, but only once during subsequent rebuilds.
159
-if(DEFINED ENV{_IOS_TOOLCHAIN_HAS_RUN})
+# NOTE: To improve single-library build-times, provide the flag "OS_SINGLE_BUILD" as a build argument.
160
+if(DEFINED OS_SINGLE_BUILD AND DEFINED ENV{_IOS_TOOLCHAIN_HAS_RUN})
161
return()
162
endif()
163
set(ENV{_IOS_TOOLCHAIN_HAS_RUN} true)
0 commit comments