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 4fdd2a1 commit 4ff8428Copy full SHA for 4ff8428
tools/scripts/examples_compile.py
@@ -69,7 +69,7 @@ def build(project):
69
elif ":build:cmake" in project_cfg and not is_running_on_windows:
70
build_dir = re.search(r'name=".+?:build:build.path">(.*?)</option>', project_cfg)[1]
71
cmd = "cmake -E make_directory {}/cmake-build-release; ".format(build_dir)
72
- cmd += '(cd {}/cmake-build-release && cmake -DCMAKE_BUILD_TYPE=Release -G "Unix Makefiles" {}); '.format(build_dir, path.absolute())
+ cmd += '(cd {}/cmake-build-release && cmake -DCMAKE_BUILD_TYPE=MinSizeRel -G "Unix Makefiles" {}); '.format(build_dir, path.absolute())
73
cmd += "cmake --build {}/cmake-build-release".format(build_dir)
74
commands.append( (cmd, "CMake") )
75
0 commit comments