mirror of
https://github.com/monero-project/monero.git
synced 2024-12-24 12:39:59 +00:00
88a0985104
2fbf38ee
Fix 32bit depends builds (TheCharlatan)17142ec9
malloc scratchpad for all supported android archs (m2049r)6a781408
Make depends use self built clang for darwin (TheCharlatan)69da14e1
fixes make debug compilation on OSX (Dusan Klinec)fe125647
Fixup RENAME_DB() macro (Howard Chu)b2972927
osx compilation fix: missing boost libs added (Dusan Klinec)174f31bf
simplewallet: don't complain about payment id on pool mined blocks (moneromooo-monero)89288863
README: mention ASAN usage alongside valgrind (moneromooo-monero)83debef9
wallet_rpc_server: remove verbose field in incoming_transfers query (moneromooo-monero)a69271fa
Fixed a typo (Piotr Kąkol)92d1da28
unit_tests: fix build with GCC 5.4.0 on ubuntu (moneromooo-monero)a21da905
Wallet: use unique_ptr for WalletImpl members (oneiric)7a056f44
WalletAPI: multisigSignData bug fixed (naughtyfox)43a06350
ringdb: use cursors to be a bit faster (moneromooo-monero)7964d4f8
wallet2: handle corner case in picking fake outputs (moneromooo-monero)6f5360b3
bump version to 0.13.0.1 (Riccardo Spagni)cf470bf3
switch from master to rc (Riccardo Spagni)
86 lines
2.5 KiB
CMake
86 lines
2.5 KiB
CMake
# Set the system name, either Darwin, Linux, or Windows
|
|
SET(CMAKE_SYSTEM_NAME @depends@)
|
|
SET(CMAKE_BUILD_TYPE release)
|
|
|
|
SET(STATIC true)
|
|
SET(UNBOUND_STATIC true)
|
|
|
|
# where is the target environment
|
|
SET(CMAKE_FIND_ROOT_PATH @prefix@ /usr)
|
|
|
|
SET(ENV{PKG_CONFIG_PATH} @prefix@/lib/pkgconfig)
|
|
|
|
SET(LRELEASE_PATH @prefix@/native/bin CACHE FILEPATH "path to lrelease" FORCE)
|
|
|
|
SET(Readline_ROOT_DIR @prefix@)
|
|
|
|
SET(LIBUNWIND_INCLUDE_DIR @prefix@/include)
|
|
SET(LIBUNWIND_LIBRARIES @prefix@/lib/libunwind.a)
|
|
SET(LIBUNWIND_LIBRARY_DIRS @prefix@/lib)
|
|
|
|
SET(ZMQ_INCLUDE_PATH @prefix@/include)
|
|
SET(ZMQ_LIB @prefix@/lib/libzmq.a)
|
|
|
|
SET(BOOST_IGNORE_SYSTEM_PATHS_DEFAULT ON)
|
|
SET(BOOST_IGNORE_SYSTEM_PATH ON)
|
|
SET(BOOST_ROOT @prefix@)
|
|
SET(BOOST_LIBRARYDIR @prefix@/lib)
|
|
SET(BOOST_IGNORE_SYSTEM_PATHS_DEFAULT OFF)
|
|
SET(BOOST_NO_SYSTEM_PATHS TRUE)
|
|
SET(BOOST_USE_STATIC_LIBS TRUE)
|
|
SET(BOOST_USE_STATIC_RUNTIME TRUE)
|
|
|
|
SET(OpenSSL_DIR @prefix@/lib)
|
|
SET(ARCHITECTURE @arch@)
|
|
|
|
# for libraries and headers in the target directories
|
|
set (CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) # Find programs on host
|
|
set (CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) # Find libs in target
|
|
set (CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) # Find includes in target
|
|
|
|
# specify the cross compiler to be used. Darwin uses clang provided by the SDK.
|
|
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
|
|
SET(CMAKE_C_COMPILER @prefix@/native/bin/clang)
|
|
SET(CMAKE_C_COMPILER_TARGET x86_64-apple-darwin11)
|
|
SET(CMAKE_CXX_COMPILER @prefix@/native/bin/clang++ -stdlib=libc++)
|
|
SET(CMAKE_CXX_COMPILER_TARGET x86_64-apple-darwin11)
|
|
SET(_CMAKE_TOOLCHAIN_PREFIX x86_64-apple-darwin11-)
|
|
SET(APPLE True)
|
|
SET(BUILD_TAG "mac-x64")
|
|
SET(BUILD_64 ON)
|
|
SET(ARCH "x86_64")
|
|
SET(BREW OFF)
|
|
SET(PORT OFF)
|
|
SET(CMAKE_OSX_SYSROOT "@sdk@/MacOSX10.11.sdk/")
|
|
SET(CMAKE_OSX_DEPLOYMENT_TARGET "10.08")
|
|
SET(CMAKE_CXX_STANDARD 11)
|
|
SET(CMAKE_OSX_ARCHITECTURES "x86_64")
|
|
SET(LLVM_ENABLE_PIC OFF)
|
|
SET(LLVM_ENABLE_PIE OFF)
|
|
else()
|
|
SET(CMAKE_C_COMPILER @CC@)
|
|
SET(CMAKE_CXX_COMPILER @CXX@)
|
|
endif()
|
|
|
|
if(ARCHITECTURE STREQUAL "arm")
|
|
set(ARCH "armv7-a")
|
|
set(ARM ON)
|
|
set(ARM_ID "armv7-a")
|
|
set(BUILD_64 OFF)
|
|
set(CMAKE_BUILD_TYPE release)
|
|
set(BUILD_TAG "linux-armv7")
|
|
set(ARM7)
|
|
elseif(ARCHITECTURE STREQUAL "aarch64")
|
|
set(ARCH "armv8-a")
|
|
set(ARM ON)
|
|
set(ARM_ID "armv8-a")
|
|
set(BUILD_TAG "linux-armv8")
|
|
set(BUILD_64 ON)
|
|
endif()
|
|
|
|
if(ARCHITECTURE STREQUAL "i686" AND CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
|
SET(LINUX_32 ON)
|
|
endif()
|
|
|
|
#Create a new global cmake flag that indicates building with depends
|
|
set (DEPENDS true)
|