cybop-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cybop-developers] CMAKE


From: Christian Heller
Subject: Re: [cybop-developers] CMAKE
Date: Sat, 04 Mar 2017 22:32:56 +0100
User-agent: KMail/4.14.1 (Linux/3.16.0-4-686-pae; KDE/4.14.2; i686; ; )

Hi Enrico,

the first CYBOI Version written in Java, IIRC, was using ANT, in 2002.
>From 2003 on the CYBOI written in C was using a self-made Make file.
Later, a french guy, Didier Link, provided us with autotools scripts.
Now, I have no objections against using CMake.

Just some wishes:
- it should work without errors before removing autotools scripts
- it should be easier, at least not more complicated than autotools
- please keep the "src/" directory free from CMake files, if possible
- put them in a new directory "build/" instead (or something similar)
- put generated distributable packages or installers into "dist/"
- ask me back once more on any unclearities

Testing:
I had written many functions for testing various things, in directory:
src/tester/
However, most of them probably don't work anymore, since the programme
architecture has changed over years. But one may take ideas from there.

The CYBOI interpreter may be started in testing mode with an option:
../src/controller/cyboi --test=copier

The list of possible test modules may be found at:
constant/model/cyboi/test/test_cyboi_model.c
and may get extended by using the files in "src/tester/".

The comparison of modules is done in:
src/controller/tester.c

CAUTION! Currently, only the "copier" works, nothing else. For other
unit names, one will get the error "The test unit name is unknown."
Please do not file bugs about this.

Finally: Good idea of yours.
If you like to provide CYBOP with CMake, then please go ahead.
... and keep us informed on the list.
If it works for us all, we may remove the autotools scripts later.

Please no patch to me. Isn't it possible to just add the CMake scripts
and send us an overview of the new files to the mailing list?

Thanks!
Christian





reply via email to

[Prev in Thread] Current Thread [Next in Thread]