From 9a47cd4d0b863599dfb2bfd0aafa6dbe5dfecdba Mon Sep 17 00:00:00 2001 From: Robert Date: Sat, 24 Aug 2024 15:12:20 +0200 Subject: [PATCH 1/2] Update README.md Added information about necessary "make install" step. From my experience, on Win 11 without having the lib installed and its target location referred from the custom project (C:/Program Files (x86)/mega65libc) cmake configuration would fail. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index f8f64a8..48dfe5d 100644 --- a/README.md +++ b/README.md @@ -36,9 +36,12 @@ Simple C library for the MEGA65 cd mega65-libc cmake -DCMAKE_PREFIX_PATH=$HOME/llvm-mos -B build make + make install # install library files make test # if `xmega65` (Xemu) was in your path when running cmake ~~~ +Installed artifacts should be made visible to cmake's package search, e.g. by adding their path to CMAKE_PREFIX_PATH. + #### Dependent projects - Classic `Makefile` projects should use `CC=mos-mega65-clang`. From bb5f638b0ae76f14b079cdcce3dfcadee390f9ab Mon Sep 17 00:00:00 2001 From: Robert Date: Mon, 9 Sep 2024 18:42:26 +0200 Subject: [PATCH 2/2] Update README.md requested changes applied, description made more clear --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 48dfe5d..07becb6 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ Simple C library for the MEGA65 make test # if `xmega65` (Xemu) was in your path when running cmake ~~~ -Installed artifacts should be made visible to cmake's package search, e.g. by adding their path to CMAKE_PREFIX_PATH. +Location of installed mega65-libc should be included into cmake's package search paths, e.g. by adding its path to the ```CMAKE_PREFIX_PATH```. #### Dependent projects