File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ _CMakeIOSPlatform=
7
7
_CMakeEnableBitcode=
8
8
_OutputPathPrefix=
9
9
_CMakeBuildTarget=cimgui
10
+ _CMakeImguiStatic=
10
11
11
12
while : ; do
12
13
if [ $# -le 0 ]; then
@@ -26,6 +27,7 @@ while :; do
26
27
_CMakeIOSPlatform=-DIOS_PLATFORM=OS64
27
28
_CMakeEnableBitcode=-DENABLE_BITCODE=0
28
29
_OutputPathPrefix=ios-
30
+ _CMakeImguiStatic=-DIMGUI_STATIC=1
29
31
;;
30
32
* )
31
33
__UnprocessedBuildArgs=" $__UnprocessedBuildArgs $1 "
@@ -38,6 +40,6 @@ _OutputPath=$scriptPath/build/$_OutputPathPrefix$_CMakeBuildType
38
40
39
41
mkdir -p $_OutputPath
40
42
pushd $_OutputPath
41
- cmake $scriptPath /cimgui -DCMAKE_BUILD_TYPE=$_CMakeBuildType $_CMakeToolchain $_CMakeIOSPlatform $_CMakeEnableBitcode
43
+ cmake $scriptPath /cimgui -DCMAKE_BUILD_TYPE=$_CMakeBuildType $_CMakeToolchain $_CMakeIOSPlatform $_CMakeEnableBitcode $_CMakeImguiStatic
42
44
cmake --build . --target $_CMakeBuildTarget
43
45
popd
You can’t perform that action at this time.
0 commit comments