On Mon, Oct 11, 2021 at 12:46 PM Rony G. Flatscher <rony.flatsc...@wu.ac.at>
wrote:

> While looking through the native samples I noticed that
>
>    - in the Windows branch there are makefiles. Are these makefiles still
>    needed now that we use CMake?
>
> The makefiles are not used for the build, the makefiles are part of the
sample, allowing the user to build them once they are installed on their
system.


>
>    -
>    - in the Unix branch there are no statements comparable to the windows
>    branch that direct the install, which might be the reason why on Unix
>    native sample binaries are wrongfully placed into the bin and lib
>    directories. Not really knowing CMake it looks like adding the Windows
>    installation statements to the Unix branch would be possible?
>
> If it's possible for Windows, then yes it is possible for Unix as well. It
probably should be done.


>
>    - If so, wouldn't it make sense to fold the native samples for Windows
>    and Unix and have a single CMakeLists.txt to drive the compilation and
>    installation of the native samples?
>
> No, platform specific branches should be kept separate. What applies to
one platform doesn't necessarily apply to the others.

>
>    - on Unix (Linux) the non native samples currently get installed to
>    "@/share/ooRexx" rather than into "@/share/ooRexx/samples", where "@" would
>    be "/usr" on Ubuntu. Should that be corrected?
>
> Probably. For Unix, this is currently defined as this: 
> ${CMAKE_INSTALL_PREFIX}/share/${CMAKE_PROJECT_NAME}.
The doc location variable also doesn't appear to be defined.


>
>    -
>    - Also, it seems that nowadays user installed applications should go
>       into "/usr/local" instead? If so, should that be corrected or is this
>       driven by CMake and should be left to it therefore?
>       - the Unix definitions do not create/install the pdf documetnation
>    files; would it make sense to install them on Unix too, if the
>    documentation pdfs are present? If so, where should they be looked for and
>    where should they be installed to on Unix, maybe to "@/ share/ooRexx/doc"?
>
> It probably would make sense to include these.

>
>
> So what do you say?
>
> ---rony
>
>
>
>
> _______________________________________________
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to