Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
paho.mqtt.c
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
eclipse
paho.mqtt.c
Commits
0296c20d
Commit
0296c20d
authored
Jul 25, 2018
by
carit.zhu@witium.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add wt2416 cmake file and cbuild.sh
parent
6f0edc21
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
cbuild.sh
cbuild.sh
+3
-0
toolchain.linux-wt2416.cmake
cmake/toolchain.linux-wt2416.cmake
+10
-0
No files found.
cbuild.sh
0 → 100755
View file @
0296c20d
##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
cmake/toolchain.linux-wt2416.cmake
0 → 100644
View file @
0296c20d
# 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
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment