-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Note: This is commit 3ef6799f633df19a84b99ccd0f21fb8c02201690 of a PR against the tinycbor library: intel/tinycbor#83
- Loading branch information
1 parent
9417697
commit 42b2816
Showing
60 changed files
with
13,883 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
version: 0.5-build-{build} | ||
pull_requests: | ||
do_not_increment_build_number: true | ||
image: | ||
- Visual Studio 2015 | ||
- Visual Studio 2013 | ||
- Visual Studio 2017 | ||
install: | ||
- cmd: >- | ||
set tests=1 | ||
if /i "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2013" (call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" amd64) & (set tests=0) | ||
if /i "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2015" (call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64) & (set QTDIR=C:\Qt\5.9\msvc2015_64) | ||
if /i "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" (call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x64) & (set QTDIR=C:\Qt\5.9\msvc2017_64) | ||
set path=%PATH%;%QTDIR%\bin | ||
build_script: | ||
- cmd: >- | ||
nmake -f Makefile.nmake -nologo CFLAGS="-W3 -Os -MDd" | ||
cd tests | ||
if /i "%tests%"=="1" qmake CONFIG-=release CONFIG+=debug | ||
if /i "%tests%"=="1" nmake -nologo -s | ||
test_script: | ||
- cmd: >- | ||
if /i "%tests%"=="1" nmake -s -nologo check | ||
if /i "%tests%"=="0" echo Tests skipped. | ||
artifacts: | ||
- path: lib\tinycbor.lib | ||
deploy: off |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.tag export-subst | ||
.gitignore export-ignore | ||
.gitattributes export-ignore | ||
.appveyor.yml text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
# Frequent generated files | ||
callgrind.out.* | ||
pcviewer.cfg | ||
*~ | ||
*.a | ||
*.la | ||
*.core | ||
*.d | ||
*.dylib | ||
*.moc | ||
*.o | ||
*.obj | ||
*.orig | ||
*.swp | ||
*.rej | ||
*.so | ||
*.so.* | ||
*.pbxuser | ||
*.mode1 | ||
*.mode1v3 | ||
*_pch.h.cpp | ||
*_resource.rc | ||
.#* | ||
*.*# | ||
core | ||
.qmake.cache | ||
.qmake.stash | ||
.qmake.vars | ||
.device.vars | ||
tags | ||
.DS_Store | ||
*.debug | ||
Makefile* | ||
*.prl | ||
*.app | ||
*.pro.user* | ||
*.qmlproject.user* | ||
*.gcov | ||
*.gcda | ||
*.gcno | ||
*.flc | ||
.*.swp | ||
tinycbor.pc | ||
|
||
# Visual Studio generated files | ||
*.ib_pdb_index | ||
*.idb | ||
*.ilk | ||
*.pdb | ||
*.sln | ||
*.suo | ||
*.vcproj | ||
*vcproj.*.*.user | ||
*.ncb | ||
*.vcxproj | ||
*.vcxproj.filters | ||
*.vcxproj.user | ||
*.exe.embed.manifest | ||
*.exe_manifest.rc | ||
*.exe_manifest.res | ||
|
||
# MinGW generated files | ||
*.Debug | ||
*.Release | ||
|
||
# INTEGRITY generated files | ||
*.gpj | ||
*.int | ||
*.ael | ||
*.dla | ||
*.dnm | ||
*.dep | ||
*.map | ||
|
||
bin | ||
doc | ||
lib | ||
src/cjson | ||
src/doxygen.log | ||
!/Makefile | ||
.config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
$Format:%H$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
language: cpp | ||
os: | ||
- linux | ||
- osx | ||
env: | ||
- CFLAGS="-O0 -g" QMAKEFLAGS="-config debug" PATH=/opt/qt59/bin:/usr/local/opt/qt5/bin:$PATH | ||
addons: | ||
apt: | ||
sources: | ||
- sourceline: 'ppa:beineri/opt-qt593-trusty' | ||
packages: | ||
- qt59base valgrind | ||
install: | ||
- if [ "${TRAVIS_OS_NAME}" != "linux" ]; then | ||
brew update; | ||
brew install qt5; | ||
fi | ||
script: | ||
- make -s -f Makefile.configure configure | tee .config | ||
- make | ||
CFLAGS="$CFLAGS" | ||
all tests/Makefile | ||
- cd tests && make check -k | ||
TESTRUNNER=`which valgrind 2>/dev/null` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
add_library(TINYCBOR INTERFACE) | ||
|
||
target_include_directories(TINYCBOR INTERFACE src) | ||
|
||
zephyr_library() | ||
zephyr_library_sources( | ||
src/cbor_buf_reader.c | ||
src/cbor_buf_writer.c | ||
src/cborencoder.c | ||
src/cborerrorstrings.c | ||
src/cborparser.c | ||
src/cborparser_dup_string.c | ||
) | ||
zephyr_library_link_libraries(TINYCBOR) | ||
target_link_libraries(TINYCBOR INTERFACE zephyr_interface) |
Oops, something went wrong.