aboutsummaryrefslogtreecommitdiff
path: root/cmake (follow)
AgeCommit message (Collapse)AuthorFilesLines
2024-05-21copyright: bump to 2024copyCat11-11/+11
2024-04-10trezor: support c++17 and protobuf v25, libusb fixDusan Klinec2-14/+21
- fix If there is no protobuf version installed, if fails - passphrase test fix, wallet keys init was missing
2024-02-24cmake: require libsodiumtobtoht1-0/+297
2023-09-30trezor: support v2.5.2+, add more trezor tests, fix chaingen and testsDusan Klinec2-96/+165
- passphrase logic: remove backward compatibility for 2.4.3, code cleanup. - fix LibUSB cmake for static builds on OSX - tests: all tests now work with passphrase logic enabled. Passphrase test added with different passphrase. no_passphrase test added, Trezor pin test added. Testing wallet opening with correct and incorrect passphrase. Trezor test chain revamp, cleanup. Smaller chain, chain file versioning added. - tests: Trezor tests support TEST_MINING_ENABLED, TEST_MINING_TIMEOUT env vars to change mining-related tests behaviour. - requires protobuf@21 on osx for now (c++14), building with unlinked protobuf: `CMAKE_PREFIX_PATH=$(find /opt/homebrew/Cellar/protobuf@21 -maxdepth 1 -type d -name "21.*" -print -quit) \ make debug-test-trezor -j8`
2023-04-25Merge pull request #8698luigi111111-11/+11
5b4fea7 Copyright: Update to 2023 (mj-xmr)
2023-01-25depends: bump hidapi/libusbtobtoht1-1/+1
fixes Trezor connectivity issues on Windows 10/11 Co-authored-by: selsta <selsta@sent.at>
2023-01-16Copyright: Update to 2023mj-xmr11-11/+11
Co-authored-by: plowsof <plowsof@protonmail.com> extra files
2022-03-04Copyright: Update to 2022mj-xmr11-11/+11
2021-11-17cmake: find readline on macOS ARMselsta1-1/+1
2021-10-19cmake: use CMAKE_CURRENT_LIST_DIR for git versionselsta1-2/+2
2021-08-02Merge pull request #7794luigi11111-1/+1
4414ed4 cmake: test is a reserved keyword (selsta)
2021-07-27Merge pull request #7758luigi11112-3/+12
42b74a3 Include Libusb and hidapi on android (malinero)
2021-07-15cmake: test is a reserved keywordselsta1-1/+1
2021-06-21Include Libusb and hidapi on androidmalinero2-3/+12
2021-06-01Merge pull request #7715luigi11111-0/+1
0c13623 cmake: fix check_linker_flag (selsta)
2021-06-01Merge pull request #7711luigi11111-1/+1
4969f39 cmake: use CMAKE_CURRENT_LIST_DIR in FindLibUSB (selsta)
2021-05-12cmake: fix check_linker_flagselsta1-0/+1
2021-05-11cmake: use CMAKE_CURRENT_LIST_DIR in FindLibUSBselsta1-1/+1
2021-04-27cmake: set 3.5 as minimum versionselsta1-1/+1
2021-03-16cmake: fix ccache detectionanon1-6/+13
2020-12-10Merge pull request #7102Alexander Blair1-17/+9
8ee3ec729 cmake: fix "release" version string on tagged releases (moneromooo-monero)
2020-12-09cmake: fix "release" version string on tagged releasesmoneromooo-monero1-17/+9
It would not say "release" if we're on a previous tag
2020-12-02Clang-tidy integrated into CMakeLists.txtmj-xmr1-0/+72
Can be called from the source directory with: utils/health/clang-tidy-run.sh
2020-10-14Merge pull request #6867Alexander Blair1-1/+1
826a84478 cmake: Version - use CMAKE_CURRENT_LIST_DIR (xiphon)
2020-10-07cmake: Version - use CMAKE_CURRENT_LIST_DIRxiphon1-1/+1
2020-10-06cmake: CheckTrezor - use ${CMAKE_CURRENT_LIST_DIR} to locate testsxiphon1-2/+2
2020-07-19Merge pull request #6512Alexander Blair9-9/+9
5ef0607da Update copyright year to 2020 (SomaticFanatic)
2020-05-06Update copyright year to 2020SomaticFanatic9-9/+9
Update copyright year to 2020
2020-05-04Made ccache optional (opt out) and tidied up the FindCcache.cmakemj-xmr1-6/+9
2020-04-22FindCcache automaticallymj-xmr1-0/+57
2019-10-26CMake build out of sourceTrasherDK1-1/+6
2019-10-23cmake: Fix generation of version.cppNathan Dorfman2-42/+46
2019-09-16Removed Berkeley DB and db switching logicJesus Ramirez1-25/+0
2019-08-26wallet, rpc: add a release field to get_versionmoneromooo-monero1-0/+4
It does not leak much since you can make a fair guess by RPC version already, and some people want to avoid non release clients when using third parties' nodes (because they'd never lie about it)
2019-07-09build: fix OSX static libusb check and link against static libobjcxiphon2-2/+8
2019-06-12Use 9 digit build IDsHoward Chu1-1/+2
2019-05-01cmake: fix some case of "backtrace lib not found" breakingmoneromooo-monero1-0/+8
It fixes at least one case of building on ARM with Docker
2019-04-16Merge pull request #5410Riccardo Spagni1-1/+10
d4a78c74 build: libusb static compilation fix (Dusan Klinec)
2019-04-10Fix linker issues using easyloggingMartijn Otto1-0/+90
2019-04-07build: libusb static compilation fixDusan Klinec1-1/+10
2019-03-17Merge pull request #5061Riccardo Spagni9-9/+9
1f2930ce Update 2019 copyright (binaryFate)
2019-03-05Update 2019 copyrightbinaryFate9-9/+9
2019-03-05device/trezor: debugging features, trezor testsDusan Klinec1-1/+16
2018-12-18build: protobuf dependency fixes, libusb buildDusan Klinec3-4/+141
- docker protobuf dependencies, cross-compilation - device/trezor protobuf build fixes, try_compile - libusb built under all platforms, used by trezor for direct connect
2018-12-04device/trezor: device/trezor: correct device initialization, status checkDusan Klinec1-1/+1
- checks if the device is in the correct usable state - implements check for the v2.0.9 firmware which does not support payment IDs - simple transacttion check, payment id fmt consistency - minor fixes, refactoring, webusb session counting fix
2018-11-25device/trezor: webusb transport added, cmake fixesDusan Klinec3-0/+271
- webusb transport based on libusb added. Provides direct access to Trezor via USB, no need for Trezor bridge. - trezor protocol message handler improved, no recursion used. Ready for upcoming integration tests. - libusb (for docker) bumped from v1.0.9 to v1.0.22, newer version required for webusb transport, for device enumeration. - cmake improvements and fixes. Cmake Trezor checks are moved to a dedicated CheckTrezor.cmake file. In case of a problem Trezor is excluded from build. - ifdefs made consistent to Ledger. - UDP Transport enumeration disabled by default in release mode
2018-10-26cmake: fix readline detection when the readline library is not foundmoneromooo-monero1-1/+3
2018-10-06Linux: Fix building of static binaries with hw device supportiDunk54001-0/+14
This should enable building static binaries on Linux systems where dependencies are already built with -fPIC, such as Ubuntu 18.04.
2018-09-29Merge pull request #4425Riccardo Spagni1-1/+1
a69271fa Fixed a typo (Piotr KÄ…kol)
2018-09-24Replace USB-CCID (smartcard) by USB-HIDcslashm2-54/+46
Remove PCSC dependencies which is a bit hard (not user friendly) to install on linux and Mac Split Ledger logic and device IO
2018-09-18Merge pull request #3430Riccardo Spagni1-1/+2
42397359 Fixup 32bit arm build (TheCharlatan) a06d2581 Fix Windows build (TheCharlatan) ecaf5b3f Add libsodium to the packages, the arm build was complaining about it. (TheCharlatan) cbbf4d24 Adapt translations to upstream changes (TheCharlatan) db571546 Updated pcsc url (TheCharlatan) f0ba19fd Add lrelease to the depends (TheCharlatan) cfb30462 Add Miniupnp submodule (TheCharlatan) 5f7da005 Unbound is now a submodule. Adapt depends for this. (TheCharlatan) d6b9bdd3 Update readmes to reflect the usage of depends (TheCharlatan) 56b6e41e Add support for apple and arm building (TheCharlatan) 29311fd1 Disable stack unwinding for mingw32 depends build. (TheCharlatan) 8db3d573 Modify depends for monero's dependencies (TheCharlatan) 0806a23a Initial depends addition (TheCharlatan)
2018-09-10Add Miniupnp submoduleTheCharlatan1-1/+2
Drop miniupnp and unbound depends builds. Make sure that build variables are propageted properly to unbound and miniupnp. Rebase to after the v0.12 release
2018-09-06Windows: don't preset CMAKE_SYSTEM_NAMEiDunk54002-2/+6
Let it be autodiscovered instead to avoid cmake thinking it's crosscompiling builds where host = target. This resolves a cmake configure error in MSYS2 caused by CMAKE_CROSSCOMPILING checks in #4294.
2018-06-23Changed URLs to HTTPSeinsteinsfool1-11/+11
2018-06-19Merge pull request #3844luigi11111-11/+20
bdf5a3a Fix PCSC compilation under windows (cslashm) f17383a Fix CMAKE config for PCSC in order to avoid msys DLL dependencies (cslashm)
2018-06-16Merge pull request #3708luigi11111-1/+1
a7ce392 Updating the FindReadline CMake hint to search in homebrew's default directory (gene-telligent)
2018-05-31Fix CMAKE config for PCSC in order to avoid msys DLL dependenciescslashm1-17/+20
merge of PR #3886
2018-05-23Fix PCSC compilation under windowscslashm1-0/+6
PR3843 based on release-v0.12 => rebased on master
2018-05-15version.cmake: fix configuring version.cpp without gitmoneromooo-monero1-1/+1
2018-05-07Updating the FindReadline CMake hint to search in homebrew's default directoryGene Peters1-1/+1
2018-03-21Fix generating version.cppHoward Chu1-2/+4
Also removes BYPRODUCT dependency on CMake 3.2
2018-03-04Code modifications to integrate Ledger HW device into monero-wallet-cli.cslashm1-0/+44
The basic approach it to delegate all sensitive data (master key, secret ephemeral key, key derivation, ....) and related operations to the device. As device has low memory, it does not keep itself the values (except for view/spend keys) but once computed there are encrypted (with AES are equivalent) and return back to monero-wallet-cli. When they need to be manipulated by the device, they are decrypted on receive. Moreover, using the client for storing the value in encrypted form limits the modification in the client code. Those values are transfered from one C-structure to another one as previously. The code modification has been done with the wishes to be open to any other hardware wallet. To achieve that a C++ class hw::Device has been introduced. Two initial implementations are provided: the "default", which remaps all calls to initial Monero code, and the "Ledger", which delegates all calls to Ledger device.
2018-01-26Update 2018 copyrightxmr-eric7-7/+7
2018-01-11Keep readline optionalJethro Grassie1-2/+10
2018-01-10Merge pull request #2993Riccardo Spagni2-0/+61
776b44f1 Add misc hardening flags to the cmake machinery (moneromooo-monero)
2018-01-02Add checks for termcap if needed by readlineJethro Grassie1-20/+27
2017-12-31Add misc hardening flags to the cmake machinerymoneromooo-monero2-0/+61
See https://wiki.debian.org/Hardening#User_Space
2017-11-28fixed linking against libreadline on OpenBSDston1th1-0/+4
To fix the linking error described here https://github.com/monero-project/monero/pull/2841#issuecomment-346129030 we also need to link libcurses.
2017-11-19cmake: fix building when readline is not foundmoneromooo-monero1-0/+4
2017-10-20cmake: add dep of version lib on version.cppredfish2-0/+113
Also, move cmake source files into cmake/ to keep them together.
2017-09-04Only check for upnp version if version is determinedOrestis Konstantinidis1-5/+5
2017-08-07cmake: do not use GREATER_EQUAL, it's too newmoneromooo-monero1-1/+1
2017-07-30cmake: Update detection of external miniupnpcErik de Castro Lopo1-162/+36
The version of miniupnpc in external/ uses API version 16, but the code also seems to work for API version 10. Also remove detection of older unsupported versions.
2017-06-18Add readline support to clijethro1-0/+66
This PR adds readline support to the daemon and monero-wallet-cli. Only GNU readline is supported (e.g. not libedit) and there are cmake checks to ensure this. There is a cmake variable, Readline_ROOT_DIR that can specify a directory to find readline, otherwise some default paths are searched. There is also a cmake option, USE_READLINE, that defaults to ON. If set to ON, if readline is not found, the build continues but without readline support. One negative side effect of using readline is that the color prompt in the wallet-cli now has no color and just uses terminal default. I know how to fix this but it's quite a big change so will tackle another time.
2017-02-21update copyright year, fix occasional lack of newline at line endRiccardo Spagni5-5/+5
2017-01-08Merge pull request #1510Riccardo Spagni1-0/+34
80abc3bc Build wallet with Android NDK (MoroccanMalinois)
2017-01-05Build wallet with Android NDKMoroccanMalinois1-0/+34
2016-12-24cmake: link against liblzma when found, for libunwindmoneromooo-monero1-0/+16
Some versions of libunwind need liblzma. If liblzma is found, we link against it unconditionally. If the installed libunwind didn't need it, this is a nop. Tested and fine tuned by iDunk
2016-08-30cmake: merge libs via virtual object librariesredfish1-74/+0
CMake issued a warming about policy CMP0026: access of LOCATION target property at config time was disallowed. Offending code was the code that merged static libraries to generate libwallet_merged.a. This patch does that same merge task in a much simpler way. And, since it doesn't violate the policy, the warning went away.
2016-08-30cmake: comply with the new policy CMP0026redfish1-101/+46
Access to LOCATION property at config time was disallowed by this policy. This patch updates the offending code to comply with the policy and thereby gets rid of the warning printed by cmake. The fix is to use generator expressions instead of that property. NOTE: Had to remove support for multiconfig (only affects MSVC which is not supported anyway; and mutliconf is an IDE thing in any case), because could not see how to support it with generator expressions.
2016-06-24CMake: GPL 'libutils' script removedIlya Kitaev4-405/+12
2016-06-23cmake libutils dependency addedIlya Kitaev1-0/+46
2016-06-23all wallet dependencies merged to single static libIlya Kitaev3-0/+476
2016-06-20cmake: add missing FindLibunwind.cmakemoneromooo-monero1-0/+25
2016-03-21Revert "Print stack trace upon exceptions"moneromooo-monero1-25/+0
Ain't nobody got time for link/cmake skullduggery. This reverts commit fff238ec94ac6d45fc18c315d7bc590ddfaad63d.
2016-03-19Print stack trace upon exceptionsmoneromooo-monero1-0/+25
Useful for debugging users' logs
2016-01-12Fix da0bce34Howard Chu2-0/+2
Windows doesn't define a default linker
2015-12-31updated copyright yearRiccardo Spagni4-5/+5
2015-05-31fixed static assert testRiccardo Spagni1-0/+34
2015-05-31cleaning up, removing redundant files, renaming, fixing incorrect licensesRiccardo Spagni2-0/+56
2015-04-07Merge BlockchainDB into upstreamThomas Winget1-0/+25
2015-04-01doxygen filesrfree2monero2-0/+1817
2015-03-17Pull blockchain changes into berkeleydb branchThomas Winget1-57/+0
2015-03-17removed findlmdb.cmake, no longer requiredRiccardo Spagni1-57/+0
2015-03-16BerkeleyDB Blockchain building, not working yetThomas Winget1-0/+25
Everything except actually *using* BlockchainBDB is wired up, but the db itself is not yet working. Some error about user mem not large enough. I think I know what this error means, but I can't determine the cause. Notes: BerkeleyDB does not allow 0-indexing in its recno type databases, so block numbers *in the database* will be 1-indexed. Modifications to indexing have been made as needed.
2015-01-18Add in-source lmdb to build processThomas Winget1-4/+0
Working on Linux, needs verified for other platforms but should be fine.
2015-01-04build: add liblmdb to the cmake autodetection systemmoneromooo-monero1-0/+61
update for rebase (warptangent 2015-01-04) src/cryptonote_core/CMakeLists.txt (edit) - replace LMDB_LIBRARIES with LMDB_LIBRARY set from autodetection
2015-01-02year updated in licenseRiccardo Spagni2-2/+2
2014-10-23miniupnpc: clear out else/endfoo command argumentsBen Boeckel1-2/+2
2014-10-06build libunbound from external if no local libunbound or for static buildsRiccardo Spagni2-22/+186
2014-10-02fixed unbound static lib on mingw as libunbound.dll.aRiccardo Spagni1-1/+5
2014-10-02remove pthreads, successfully tested on gcc 4.9.1 without pthreadsRiccardo Spagni1-1/+5
2014-09-29dependencies enforced, send que error message log level movedRiccardo Spagni1-5/+5
2014-09-24redo FindUnbound.cmakeRiccardo Spagni1-28/+26
2014-09-24fixed cmake folderRiccardo Spagni3-0/+93
2014-09-24added tomerkon's GPG key, cmake folder fixRiccardo Spagni2-38/+0
2014-09-22moved msys2 toolchain, boost libs fixRiccardo Spagni2-0/+38