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
#!/bin/sh | |
# Script to install GNU Guix --- Functional package management for GNU | |
# on PLCnext based PLC from Phoenix Contact. (Minimal needed firmware 2019.0) | |
# The script is derived from the guix-install.sh script of GNU Guix | |
# which can be found at | |
# <https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh> | |
# | |
# Copyright 2019 PHOENIX CONTACT GmbH & Co KG | |
# This script is licensed under the GNU General Public License as published by | |
# the Free Software Foundation; either version 3 of the License, or (at |
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
project(cmake-install) | |
cmake_minimum_required(VERSION 3.12) | |
add_library(MyLibrary main.cpp) | |
target_include_directories(MyLibrary | |
PRIVATE | |
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/src> | |
PUBLIC |
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
# Adjust this path to the SDK install location | |
toolchain_path=/opt/pxc/axcf2152_2019.6 | |
[settings] | |
# We are building in Ubuntu Linux | |
os_build=Linux | |
arch_build=x86_64 | |
# We are cross-building to ARM | |
os=Linux | |
arch=armv7hf |