Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/cmake
AgeCommit message (Collapse)Author
2021-06-15Start macOS app bundle name with uppercase letterFelix Weilbach
It's a convention on macOS that app bundle names start with an uppercase letter. Also this aligns the app name with Windows and Linux. Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
2021-06-07Check compiler against CMAKE_CXX_COMPILER_IDFelix Weilbach
Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
2021-05-26Remove obsolete AddAppIconMacroFelix Weilbach
Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
2021-05-18use folders in CMakeDmytro Korchynskyi
Signed-off-by: Dmytro Korchynskyi <kdl.dima@gmail.com>
2021-05-17Add CMake option to enable address sanitizersFelix Weilbach
Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
2021-04-19Revert "Add CMake option to enable address sanitizers"Matthieu Gallien
This reverts commit 3000e2664068b2b9dbc57e3f1a53653e400593dc. This was not intended for a direct push Signed-off-by: Matthieu Gallien <matthieu_gallien@yahoo.fr>
2021-04-19Add CMake option to enable address sanitizersFelix Weilbach
Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
2021-04-15Copy FindSharedMimeInfo from ECMNicolas Fella
Instead of relying on ECM being installed. We copy other stuff from ECM so be consistent. Signed-off-by: Nicolas Fella <nicolas.fella@gmx.de>
2021-04-15CMake: Use own SQLite3 on macOS and WindowsFelix Weilbach
Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
2021-04-14Add feature summary to CMakeFelix Weilbach
Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
2021-04-13Improve Inotify cmake codeNicolas Fella
Use the FindInotify from ECM. It handles the case of Linux vs BSD correctly automatically. Also only find Inotify on Linux and BSD Signed-off-by: Nicolas Fella <nicolas.fella@gmx.de>
2021-04-12Remove non-functional default CMAKE_BUILD_TYPEElsie Hupp
Signed-off-by: Elsie Hupp <9206310+elsiehupp@users.noreply.github.com>
2021-04-12Use FindPkgConfig to find libcloudproviders and related libsNicolas Fella
Instead of using custom find modules. This allows using imported targets which make the code much nicer. Signed-off-by: Nicolas Fella <nicolas.fella@gmx.de>
2020-12-15Don't recurse the whole tree looking for a git dir, use PROJECT_SOURCE_DIRHannah von Reth
2020-12-15Fix build with recent Clang (on Linux)Dominik Schmidt
2020-12-15Rename ocsync library to ${APPLICATION_EXECUTABLE}_csyncDominik Schmidt
2020-12-15Install libocsync to lib/ without subfolder.Dominik Schmidt
Installing to lib/${APPLICATION_EXECUTABLE} has caused a bunch of irritations in the past and subtle annoying to fix bugs. To avoid name clashes with branded clients ${APPLICATION_EXECUTABLE} becomes now part of the filename instead of the subfolder. The concrete motivation to change this now is that on Windows there is no RPATH and it's not possible to run owncloud directly from the Craft Root folder, which is nice when you're developing on Windows. It would have been possible to change this just for Windows but as written earlier this has caused lots of issues and thus I think it's a good idea to just stay consistent accross platforms when touching it.
2020-12-15FindSql3.cmake: Add the input variable in the search pathOlivier Goffart
Issue #6278
2020-12-15Rename Placeholders to Virtual Files in code #6531Christian Kamm
2020-12-15Placeholders: Support for macOS #6290Markus Goetz
2020-12-15NSIS: Register placeholder extensionChristian Kamm
Also change the placeholder suffix config option to not include the dot, the dotless form is needed in the nsis script.
2020-11-25Simplify Sparkle handling in CMakeDominik Schmidt
2020-11-02Get rid of FindQt5Keychain.cmakeKevin Ottens
QtKeychain provides Qt5KeychainConfig.cmake and friends nowadays, so no need to have a less reliable and outdated find module on our end. Also this shows that we were including keychain.h in the wrong way and were not using the link target, so both got fixed as well. Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-06-07macOS: Opt In to Dark Mode for building against older macOS SDKs < 10.14Michael Schuster
Required for our build server that uses an older SDK to support previous macOS versions. See: https://developer.apple.com/documentation/appkit/nsappearancecustomization/choosing_a_specific_appearance_for_your_macos_app Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-05-19Add -fno-sanitize=vptr for SANITIZE_UNDEFINED=ONStephan Beyer
The UndefinedBehaviorSanitizer includes the "vptr" check. This check, however, needs typeinfo for OCC::AccountManager because otherwise its stub for FileManTest leads to undefined references when linking. Adding the -frtti flag to enable run-time typeinfo did not solve the problem. I do not know another solution, so this commit disables the vptr check. Signed-off-by: Stephan Beyer <s-beyer@gmx.net>
2020-05-19Make sanitizer options more fine-grainedStephan Beyer
The SANITIZE_ADDRESS option of our CMake configuration activates the AddressSanitizer (and UBSan in a non-working way) for the whole project (although, by the way, its documentation pretends that it is only enabled for tests). This commit introduces new options SANITIZE_LEAK, SANITIZE_MEMORY, SANITIZE_UNDEFINED, SANITIZE_THREAD. Each of these options (including SANITIZE_ADDRESS) enables only the corresponding sanitizer. Moreover, we mark all sanitizer options as advanced options, because these options are only interesting for developers. Note that some sanitizers are conflicting, that is, not all options can be enabled simultaneously. Also, not all sanitizers are available for all compilers and versions. We, however, do not check for this, instead we let the compiler throw its errors in such cases. The explicit usage of the Google Linker is removed, because it is not necessary and can lead to problems with clang. The commit can be considered a rewrite of cmake/modules/SanitizerFlags.cmake. Signed-off-by: Stephan Beyer <s-beyer@gmx.net>
2020-05-04Fix typos.Sandro Knauß
Debian has a list of known typos in their checking tools. Signed-off-by: Sandro Knauß <hefee@debian.org>
2020-01-13Welcome to 2020JanDragon
2019-11-29Fix copyright year in MacOSXBundleInfo.plist.in for 2019Michael Schuster
Signed-off-by: Michael Schuster <michael@schuster.ms>
2019-10-22enabled address sanitizing for testsasapelkin
Signed-off-by: asapelkin <asapelkin0x01@ya.ru>
2019-09-09Use -Wno-gnu-zero-variadic-macro-arguments only for ClangDominique Fuchs
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
2019-09-04Updated ECMAddAppIcon to newest ver ↵Dominique Fuchs
fromhttps://github.com/KDE/extra-cmake-modules/blob/master/modules/ECMAddAppIcon.cmake with modifications for nc workflow (incl. png2imagemagick) Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
2019-09-03Updated AddAppIconMacro (esp. for new macOS retina guidelines) and corrected ↵Dominique Fuchs
filenames to not change pattern in cmake scripts Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
2019-09-03Updated cmake module to current version (esp. worthy for newer windows ↵Dominique Fuchs
versions reg. the sizes) in https://github.com/KDE/extra-cmake-modules/blob/master/modules/ECMAddAppIcon.cmake Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
2018-09-05Merge branch 'master' into windows-large-app-iconOskar Kruschitz
2018-09-05Mac Application IconOskar Kruschitz
Replaced ownCloud.icns with APPLICATION_ICON_NAME variable
2018-08-28Larger Windows App IconOskar Kruschitz
Newer Windows versions are also displaying a 256x256 icon. If this icon size is not present, the 48x48 icon is used, but not resized. This means there is a possibly large empty area around the icon.
2018-07-25allow to switch to the integrated gpu on MacOSMarkus Doits
without that key, the client automatically runs on the dedicated gpu (if present). now it allows the system to use the integrated one. closes #501
2018-06-13NSIS: SVG imageformats plugin DLL #6515Markus Goetz
2018-06-13NSIS: SVG DLL #6515Markus Goetz
2018-06-06Fix a bunch of warning with clangOlivier Goffart
The option -Wno-discarded-qualifiers only exists with GCC, clang warns that it has no effects. Also it warns when some virtual fuction are marked with override but not all of them.
2018-06-04macdeployqt: Adjust minimum version based on our Qt #5932Markus Goetz
2018-01-25Merge remote-tracking branch 'oc/master' into oc_upRoeland Jago Douma
2018-01-13Use new ECMAddAppIcon macro for application icons.Dominik Schmidt
cmake/modules/ECMAddAppIcon.cmake is heavily patched to support sidebar icons, OUTFILE_BASE parameter and to not include 64 and 64@2x icons on macOS which are not supported. All changes are made in a way that we can upstream this.
2018-01-13Fix building sqlite on macOS and WindowsDominik Schmidt
2018-01-13Package libssp-0.dll in NSIS installer.Dominik Schmidt
It's needed since 586fd346ead9aaa21aace8b2ffd616f0cc249a9e activated stack-protector-strong
2018-01-13Fix sqlite compilation (on OSX)Dominik Schmidt
2018-01-13Csync: remove some unused build system stuffOlivier Goffart
2018-01-13Build system: Get rid of QtVersionAbstraction.cmakeOlivier Goffart
Use modern cmake with target_link_libraries and Qt5:: that automatically add the include path and compile flags
2017-12-14Integrate libcloudproviders supportJulius Härtl
This commit integrates support for libcloudproviders desktop integration API. If build with the library it will check on startup if the DBus interface is available and then use it instead of the legacy status icon. Signed-off-by: Julius Härtl <jus@bitgrid.net>