Commit 0296c20d authored by carit.zhu@witium.com's avatar carit.zhu@witium.com

add wt2416 cmake file and cbuild.sh

parent 6f0edc21
##cmake -GNinja -DPAHO_WITH_SSL=TRUE -DPAHO_BUILD_SAMPLES=TRUE -DPAHO_BUILD_DOCUMENTATION=TRUE -DCMAKE_TOOLCHAIN_FILE=/home/carit/embededlinux-wt2416/wt2416-libs/paho.mqtt.c/cmake/toolchain.linux-wt2416.cmake ~/embededlinux-wt2416/wt2416-libs/paho.mqtt.c
cmake -GNinja -DPAHO_WITH_SSL=TRUE -DPAHO_BUILD_SAMPLES=TRUE -DPAHO_BUILD_DOCUMENTATION=TRUE -DOPENSSL_LIB=/home/carit/embededlinux-wt2416/wt2416-libs/usr/openssl/lib -DOPENSSL_INCLUDE_DIR="/home/carit/embededlinux-wt2416/wt2416-libs/usr/openssl/include/openssl" -DOPENSSLCRYPTO_LIB=/home/carit/embededlinux-wt2416/wt2416-libs/usr/openssl/lib -DCMAKE_TOOLCHAIN_FILE=/home/carit/embededlinux-wt2416/wt2416-libs/paho.mqtt.c/cmake/toolchain.linux-wt2416.cmake -DCMAKE_INSTALL_PREFIX=~/embededlinux-wt2416/wt2416-libs/paho.mqtt.c/build ~/embededlinux-wt2416/wt2416-libs/paho.mqtt.c
# path to compiler and utilities
# specify the cross compiler
SET(CMAKE_C_COMPILER arm-none-linux-gnueabi-gcc)
# Name of the target platform
SET(CMAKE_SYSTEM_NAME Linux)
SET(CMAKE_SYSTEM_PROCESSOR arm)
# Version of the system
SET(CMAKE_SYSTEM_VERSION 1)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment