Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend CMake build #181

Merged
merged 46 commits into from
Feb 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
9f8880f
Link apps/simpleclient with iotivity-server-client
Oxymoron79 Jan 21, 2022
9593f2b
Add cache variable to build shared libraries
Oxymoron79 Jan 21, 2022
c842a1d
Set project version of iotivity-lite and set library properties
Oxymoron79 Jan 21, 2022
fae35f8
Add install targets
Oxymoron79 Jan 21, 2022
a4b2552
Make tinycbor-master library a INTERFACE library
Oxymoron79 Jan 25, 2022
3b752a3
Rename library targets to match port/linux/Makefile
Oxymoron79 Jan 25, 2022
9d21eba
Generate pkg-config files
Oxymoron79 Jan 25, 2022
dcb475a
Add missing build definitions
Oxymoron79 Jan 26, 2022
0d3103a
Move build of mbedtls to iotivity-deps project
Oxymoron79 Jan 26, 2022
dbca38a
Remove obsolete build variable
Oxymoron79 Jan 27, 2022
b8b4a75
Build port library as object lib and in main project
Oxymoron79 Jan 27, 2022
e97ac05
Add compile definitions for tinycbor-master
Oxymoron79 Jan 31, 2022
2884d1a
Build deps libraries as object lib and in main project
Oxymoron79 Jan 31, 2022
9a23020
Format port/CMakeLists.txt
Oxymoron79 Jan 31, 2022
026dfda
Add build variable for IPv6 DNS lookup
Oxymoron79 Jan 31, 2022
f5fc9d8
Build static and shared libraries from object libraries
Oxymoron79 Jan 31, 2022
5518997
Build port in server/client library due to OC_CLIENT switch in ipadap…
Oxymoron79 Jan 31, 2022
1b766bb
Remove dynamic link dependency to mbedtls.
Oxymoron79 Jan 31, 2022
764da78
Split mbedtls and tinycbor libraries into separate CMake modules
Oxymoron79 Jan 31, 2022
3c3733c
Fix mbedtls-patch module
Oxymoron79 Jan 31, 2022
e611abf
Link static mbedtls library into shared libraries
Oxymoron79 Jan 31, 2022
50dfdd4
Build mbedtls as object library
Oxymoron79 Jan 31, 2022
4b3cd6b
Add build of unit tests
Oxymoron79 Jan 31, 2022
78bdd22
Link to libm on platforms that require it
Oxymoron79 Feb 1, 2022
59dee39
Set properties on static and shared libraries
Oxymoron79 Feb 1, 2022
b416d1e
Generate and install CMake package for iotivity-lite
Oxymoron79 Feb 1, 2022
de59cd6
Refactor CMake variable names
Oxymoron79 Feb 1, 2022
bc17c61
Set BUILD_INTERFACE properties on static and shared libraries
Oxymoron79 Feb 1, 2022
953ea7b
Add build of onboarding tool
Oxymoron79 Feb 1, 2022
31b1474
Add build of most example applications
Oxymoron79 Feb 1, 2022
9a4eb04
Add build variable for example applications and onboarding tool
Oxymoron79 Feb 2, 2022
1a9bcd1
Add build of test applications
Oxymoron79 Feb 2, 2022
41157ed
Add build of python client bindings dynamic library
Oxymoron79 Feb 2, 2022
2adc82a
Fix server_certification_test: rd_client.h requires OC_CLOUD
Oxymoron79 Feb 2, 2022
633c82a
Fix missing compile definition __OC_RANDOM for mbedtls
Oxymoron79 Feb 2, 2022
7501f8b
Simplify collection of mbedtls source files
Oxymoron79 Feb 3, 2022
6cafe45
Fix globbing of obt source files
Oxymoron79 Feb 3, 2022
09a8313
CMake: add support for clang-tidy static analysis (#183)
Danielius1922 Feb 3, 2022
8b271e4
Append -static for static library names
Oxymoron79 Feb 3, 2022
bbeef14
Add port to the private include directories for the libraries
Oxymoron79 Feb 3, 2022
f5dc855
The test applications are intended for Linux only
Oxymoron79 Feb 3, 2022
d78144d
Build the python client library on Linux only.
Oxymoron79 Feb 3, 2022
7931010
Add windows registry setting for CMake package during installation
Oxymoron79 Feb 3, 2022
c08a289
Add missing OC_IPV4 compilation switch in port/windows/ipadapter.c
Oxymoron79 Feb 3, 2022
9b3cf7f
Don't build shared libraries with MSVC
Oxymoron79 Feb 4, 2022
f83e709
Fix wrong object library for client-server library
Oxymoron79 Feb 7, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Static analysis

on:
push:

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
clang-tidy-linux:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: "true"

- name: Install clang-tidy
run: |
sudo apt-get update -y
sudo apt-get install -y clang-tidy
- name: Build with clang-tidy
run: |
mkdir linuxbuild && cd linuxbuild
cmake -DCLANG_TIDY_ENABLED=ON ..
make all
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ service/resource-directory/client/unittest/obj
#vscode setting files
.vscode

.clant-tidy

build

python/plgd_headers.config
Loading