mirror of
https://github.com/openglow-org/forgefirm.git
synced 2026-09-27 16:51:12 -07:00
initial commit
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
DESCRIPTION = "System Control Daemon for ForgeFIRM powered Glowforge"
|
||||
HOMEPAGE = "https://github.com/ScottW514/forgectrl"
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
||||
|
||||
SRC_URI = "\
|
||||
file://CMakeLists.txt \
|
||||
file://hello.c \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}"
|
||||
|
||||
inherit cmake
|
||||
|
||||
DEPENDS += "libconfig ulfius"
|
||||
RDEPENDS_${PN} = "libconfig ulfius"
|
||||
|
||||
EXTRA_OECMAKE = ""
|
||||
@@ -0,0 +1,8 @@
|
||||
cmake_minimum_required(VERSION 3.10)
|
||||
project(forgectrl C)
|
||||
|
||||
set(CMAKE_C_STANDARD 11)
|
||||
file(GLOB sources "${PROJECT_SOURCE_DIR}/*.c")
|
||||
|
||||
add_executable(forgectrl ${sources})
|
||||
install(TARGETS forgectrl RUNTIME DESTINATION bin)
|
||||
@@ -0,0 +1,6 @@
|
||||
#include <stdio.h>
|
||||
int main() {
|
||||
// printf() displays the string inside quotation
|
||||
printf("Hello, World!");
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user