Skip to content

Instantly share code, notes, and snippets.

@cogwirrel
cogwirrel / libcurl_builder.sh
Created December 20, 2016 01:58
Build curl and openssl for all android architectures
#!/bin/bash
USAGE=$'Usage:
./libcurl_builder <options>
Required:
-c <curl_directory> The top level curl directory
-s <openssl_directory> The top level openssl directory
-n <ndk_directory> The top level ndk directory
@davisford
davisford / CMakeLists.txt
Created September 26, 2012 17:16
Issue with CMake cross-compile and find_library()
# add ZeroMQ library
if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
if (${CMAKE_CROSSCOMPILING})
# build with Arm / Pi-compiled libraries
find_library(ZEROMQ_LIB zmq ${PROJECT_SOURCE_DIR}/../lib/linux/pi)
find_library(CZMQ_LIB czmq ${PROJECT_SOURCE_DIR}/../lib/linux/pi)
else()