Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rjaremczak authored Aug 24, 2024
1 parent c786a47 commit 9a47cd4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down

0 comments on commit 9a47cd4

Please sign in to comment.