Skip to content

Commit e2c5d37

Browse files
committed
SNC-5290. Updated builds for package generation.
1 parent 6fa79b2 commit e2c5d37

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed

build/MEGAsync/MEGAsync/debian.rules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ build-stamp:
3434
fi
3535

3636
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
3838
cmake --build $(CURDIR)/build_dir -j$(NJOBS)
3939
cmake --install $(CURDIR)/build_dir --prefix $(CURDIR)/install_dir
4040

build/templates/MEGAsync/PKGBUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ build() {
6868
vcpkg_root="-DVCPKG_ROOT=${megasrcdir}/vcpkg"
6969
fi
7070

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}"
7272
cmake --build "${megasrcdir}"/build_dir ${BUILD_PARALLEL_JOBS}
7373
}
7474

build/templates/MEGAsync/megasync.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ fi
215215
%endif
216216

217217
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
219219

220220
%build
221221

installer_mac.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ if [ ${build_cmake} -eq 1 ]; then
124124
CMAKE_EXTRA="-DCMAKE_OSX_ARCHITECTURES=${target_arch}"
125125
fi
126126

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 ../
128128
cmake --build ./ --target MEGAsync -j`sysctl -n hw.ncpu`
129129
cmake --build ./ --target MEGAupdater -j`sysctl -n hw.ncpu`
130130

production_build.cmd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ cmake ^
2727
-A x64 ^
2828
-DCMAKE_VERBOSE_MAKEFILE="ON" ^
2929
-DENABLE_DESIGN_TOKENS_IMPORTER="OFF" ^
30+
-DENABLE_DESKTOP_APP_TESTS="OFF" ^
3031
-DCMAKE_CXX_FLAGS_RELWITHDEBINFO="/Zi /O2 /Ob2 /DNDEBUG" ^
3132
-DCMAKE_C_FLAGS_RELWITHDEBINFO="/Zi /O2 /Ob2 /DNDEBUG" ^
3233
-DVCPKG_ROOT=%MEGA_VCPKGPATH% ^
@@ -61,6 +62,7 @@ cmake ^
6162
-A Win32 ^
6263
-DCMAKE_VERBOSE_MAKEFILE="ON" ^
6364
-DENABLE_DESIGN_TOKENS_IMPORTER="OFF" ^
65+
-DENABLE_DESKTOP_APP_TESTS="OFF" ^
6466
-DCMAKE_CXX_FLAGS_RELWITHDEBINFO="/Zi /O2 /Ob2 /DNDEBUG" ^
6567
-DCMAKE_C_FLAGS_RELWITHDEBINFO="/Zi /O2 /Ob2 /DNDEBUG" ^
6668
-DVCPKG_ROOT=%MEGA_VCPKGPATH% ^

0 commit comments

Comments
 (0)