This is a CMake package for the wolfSSL library. It
creates a wolfSSL library target as well that can be found by other CMake projects using find_package()
.
It requires the Kinetis SDK package to be
build beforehand.
- Checkout the ubirch-arm-toolchain
- Create a build directory:
mkdir build
cd build
- Run cmake (providing the toolchain, and if necessary the wolfSSL dir:
-DWOLFSSL_ROOT=<wolfssl-dir>
):
cmake -DCMAKE_TOOLCHAIN_FILE=<toolchain-dir>/cmake/ubirch-arm-toolchain.cmake
- Run make
make
If you want to build all different configuration types (
Debug
,Release
,MinSizeRel
, ...) you need to create a build directory for every configuration and runcmake
with an extra argument-DCMAKE_BUILD_TYPE=<build-type>
as well asmake
.
CMakeLists.txt
- package build filebuild.sh
- default build file, creating a sub directorybuild
and runscmake
andmake
⚠️ Attention
The wolfSSL library itself is Copyright © wolfSSL Inc., licensed under the GNU General Public License. Check the wolfSSL repository for more information.
If not otherwise noted in the individual files, the code in this repository is
Copyright © 2016 ubirch GmbH, Author: Matthias L. Jugel
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.