Oh, and one more thing:

On Jenkins we build everything starting from ~workspace, here are the steps for 
M1 Mac

# make ooRexx

# Stop and delete existing installation, leave no witnesses
pkill rxapi || true
rm -dfr ~/Applications/ooRexx5

# Clean the build dir to be sure everything is built fresh
rm -dfr oorexxBuild/*

mkdir -p oorexxBuild
cd oorexxBuild

# Installing to ~/Applications
/opt/homebrew/bin/cmake -G "Unix Makefiles" -DBUILD_OSX_UNIVERSAL_BINARIES=1 
-DBUILD_DMG=1 -DCMAKE_BUILD_TYPE=RELEASE 
-DCMAKE_INSTALL_PREFIX=~/Applications/ooRexx5 ../oorexxSVN

make clean              # make sure rexx picks up the current build date
make

# install to ~/Applications/ooRexx5 (the installer build uses this so do not 
change)
make install

# now build the installer with a script generated by CMake
bash ./build_macOS_dmg.sh

The last step in the build chain generates a dmg drag&drop installer that can 
be used elsewhere.

> Am 13.02.2022 um 11:56 schrieb Thomas Kahr <[email protected]>:
> 
>> 
>> Dear Developers,
>> 
>> Its been a while since my last attempt to port ooRexx to Android. The time 
>> has come to finish this project.
>> Meanwhile, I changed my approach and want to try to port it from an ARM Mac 
>> to Android instead of Linux.
>> I want to give it a try but I’m already stuck at the beginning.
>> 
>> The initial build on Mac worked just fine but combining it with the CMAKE 
>> toolchain gives me an error regarding curses:
>> 
>> <Screenshot 2022-02-12 at 19.05.19.png>
>> 
>> 
>> 
>> I installed ncurses via Home-brew. I got the following hints from Home-brew 
>> directly after installing:
>> 
>> <NCURSES_HOMEBREW.png>
>> 
>> 
>> I already tried different things but still, CMake is complaining about the 
>> missing Curses. Here is what I've tried so far:
>> 
>> -DCMAKE_PREFIX_PATH=/opt/homebrew/opt/ncurses/bin (I added this line to my 
>> CMake command. The error stays the same)
>> I also tried to add these two lines to the CMakeLists.txt file. Probably at 
>> the wrong place. Maybe anyone can tell me where I have to put this two lines:
>> 
>> <Screenshot 2022-02-12 at 21.01.17.png>
>> 
>> 
>> Does anyone know how to tell CMake where it can find curses? Is there 
>> anything else to change besides the path information?
>> 
>> Thanks in advance
>> 
>> Best regards
>> Thomas
>> 
> 
> _______________________________________________
> Oorexx-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel

_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to