Anope IRC Services

Anope Development => Modules => Topic started by: Michal Dziczkowski on June 19, 2015, 03:25:10 PM

Title: CMake fix proposal. Modules folder
Post by: Michal Dziczkowski on June 19, 2015, 03:25:10 PM
I would like to propose a modification of CMake with allows to compile the .cpp and .c modules and not only .cpp only like it was before.

I would like to hear your opinion about it
Title: Re: CMake fix proposal. Modules folder
Post by: Jens Voss on June 19, 2015, 03:48:21 PM
I dont like this idea.
.c files are for anope 1.8.x modules (written in plain c), and .cpp files are for anope 2.0.x (written in c++) 

If we change this people will try to install 1.8 modules and get millions of compile errors.
Title: Re: CMake fix proposal. Modules folder
Post by: Michal Dziczkowski on June 19, 2015, 04:01:28 PM
Quote
If we change this people will try to install 1.8 modules and get millions of compile errors.

May I hear in this case your solution of including of custom made modules written by users with haven't been implemented into the main branch of anope since 1.8 and they are still as .c ?
Title: Re: CMake fix proposal. Modules folder
Post by: Jens Voss on June 19, 2015, 04:06:46 PM
There is no solution.
If there is no 2.0.x version of a module then it can't be used with anope 2.0.x