File tree Expand file tree Collapse file tree 5 files changed +6
-4
lines changed Expand file tree Collapse file tree 5 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ build-stamp:
34
34
fi
35
35
36
36
cmake --version
37
- $(EXPORT_VCPKG_FORCE_SYSTEM_BINARIES) cmake $(VCPKG_ROOT) -DENABLE_DESKTOP_UPDATE_GEN=OFF -DENABLE_DESIGN_TOKENS_IMPORTER=OFF $(QTDEFINES) -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -S $(CURDIR) -B $(CURDIR)/build_dir
37
+ $(EXPORT_VCPKG_FORCE_SYSTEM_BINARIES) cmake $(VCPKG_ROOT) -DENABLE_DESKTOP_UPDATE_GEN=OFF -DENABLE_DESIGN_TOKENS_IMPORTER=OFF -DENABLE_DESKTOP_APP_TESTS=OFF $(QTDEFINES) -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -S $(CURDIR) -B $(CURDIR)/build_dir
38
38
cmake --build $(CURDIR)/build_dir -j$(NJOBS)
39
39
cmake --install $(CURDIR)/build_dir --prefix $(CURDIR)/install_dir
40
40
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ build() {
68
68
vcpkg_root=" -DVCPKG_ROOT=${megasrcdir} /vcpkg"
69
69
fi
70
70
71
- cmake ${vcpkg_root} -DENABLE_DESKTOP_UPDATE_GEN=OFF -DENABLE_DESIGN_TOKENS_IMPORTER=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -S " ${megasrcdir} " -B " ${megabuilddir} "
71
+ cmake ${vcpkg_root} -DENABLE_DESKTOP_UPDATE_GEN=OFF -DENABLE_DESIGN_TOKENS_IMPORTER=OFF -DENABLE_DESKTOP_APP_TESTS=OFF - DCMAKE_BUILD_TYPE=RelWithDebInfo -S " ${megasrcdir} " -B " ${megabuilddir} "
72
72
cmake --build " ${megasrcdir} " /build_dir ${BUILD_PARALLEL_JOBS}
73
73
}
74
74
Original file line number Diff line number Diff line change 215
215
%endif
216
216
217
217
cmake --version
218
- cmake ${vcpkg_root} -DENABLE_DESKTOP_UPDATE_GEN= OFF -DENABLE_DESIGN_TOKENS_IMPORTER= OFF ${qtdefinitions} -DCMAKE_VERBOSE_MAKEFILE= ON -DCMAKE_BUILD_TYPE= RelWithDebInfo -S . -B %{_builddir }/build_dir
218
+ cmake ${vcpkg_root} -DENABLE_DESKTOP_UPDATE_GEN= OFF -DENABLE_DESIGN_TOKENS_IMPORTER= OFF -DENABLE_DESKTOP_APP_TESTS = OFF ${qtdefinitions} -DCMAKE_VERBOSE_MAKEFILE= ON -DCMAKE_BUILD_TYPE= RelWithDebInfo -S . -B %{_builddir }/build_dir
219
219
220
220
%build
221
221
Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ if [ ${build_cmake} -eq 1 ]; then
124
124
CMAKE_EXTRA=" -DCMAKE_OSX_ARCHITECTURES=${target_arch} "
125
125
fi
126
126
127
- cmake -DVCPKG_ROOT=${VCPKGPATH} -DENABLE_DESIGN_TOKENS_IMPORTER=OFF -DCMAKE_PREFIX_PATH=${MEGAQTPATH} -DCMAKE_BUILD_TYPE=RelWithDebInfo ${CMAKE_EXTRA} -S ../
127
+ cmake -DVCPKG_ROOT=${VCPKGPATH} -DENABLE_DESIGN_TOKENS_IMPORTER=OFF -DENABLE_DESKTOP_APP_TESTS=OFF - DCMAKE_PREFIX_PATH=${MEGAQTPATH} -DCMAKE_BUILD_TYPE=RelWithDebInfo ${CMAKE_EXTRA} -S ../
128
128
cmake --build ./ --target MEGAsync -j` sysctl -n hw.ncpu`
129
129
cmake --build ./ --target MEGAupdater -j` sysctl -n hw.ncpu`
130
130
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ cmake ^
27
27
-A x64 ^
28
28
-DCMAKE_VERBOSE_MAKEFILE=" ON" ^
29
29
-DENABLE_DESIGN_TOKENS_IMPORTER=" OFF" ^
30
+ -DENABLE_DESKTOP_APP_TESTS=" OFF" ^
30
31
-DCMAKE_CXX_FLAGS_RELWITHDEBINFO=" /Zi /O2 /Ob2 /DNDEBUG" ^
31
32
-DCMAKE_C_FLAGS_RELWITHDEBINFO=" /Zi /O2 /Ob2 /DNDEBUG" ^
32
33
-DVCPKG_ROOT=%MEGA_VCPKGPATH% ^
@@ -61,6 +62,7 @@ cmake ^
61
62
-A Win32 ^
62
63
-DCMAKE_VERBOSE_MAKEFILE=" ON" ^
63
64
-DENABLE_DESIGN_TOKENS_IMPORTER=" OFF" ^
65
+ -DENABLE_DESKTOP_APP_TESTS=" OFF" ^
64
66
-DCMAKE_CXX_FLAGS_RELWITHDEBINFO=" /Zi /O2 /Ob2 /DNDEBUG" ^
65
67
-DCMAKE_C_FLAGS_RELWITHDEBINFO=" /Zi /O2 /Ob2 /DNDEBUG" ^
66
68
-DVCPKG_ROOT=%MEGA_VCPKGPATH% ^
You can’t perform that action at this time.
0 commit comments