Sadie Powell
90ac540960
Force CMake to recheck for new modules when building.
2025-10-24 10:26:47 +01:00
Sadie Powell
1a5d49b7f6
Replace calculate_libraries with inline CMake code.
2025-10-05 18:04:45 +01:00
Sadie Powell
3e5d3c5bdc
Avoid packaging unnecessary .lib files on Windows.
...
[skip alpine ci]
[skip ubuntu ci]
2024-04-15 12:41:56 +01:00
Sadie Powell
c08aaa86d1
Sync the build system directory names with the core.
2024-04-02 16:52:41 +01:00
Sadie Powell
9a8cac060d
Add support for encrypting passwords with the Argon2 algorithm.
...
Closes #369 .
2024-03-10 15:09:38 +00:00
Sadie Powell
bb8df01e25
Move some modules which can be built by default out of extra.
2024-03-07 23:18:08 +00:00
Sadie Powell
026661c9a2
Fix irc2sql and webcpanel not being put into the modules folder.
2024-01-30 14:53:08 +00:00
Sadie Powell
7ac1fe5847
Rename several modules to remove the m_ prefix.
2024-01-24 12:22:51 +00:00
Sadie Powell
0d8d1675f7
Fix an oversight in build_subdir.
2024-01-10 17:49:02 +00:00
Sadie Powell
fa7ad6b3df
Use native file extensions on macOS and Windows.
2024-01-09 14:35:49 +00:00
Sadie Powell
fc2df00cfc
Put modules into their own folder on Windows.
2024-01-09 13:57:32 +00:00
Sadie Powell
9d0a6ddc67
Merge branch '2.0' into 2.1.
2023-06-03 21:51:07 +01:00
Adam
fbf3b34474
add gettext to conan deps
2023-06-02 23:01:27 -04:00
Adam
ce42810265
m_ldap: use Wldap on windows
2023-06-02 21:31:12 -04:00
Adam
07babdbd77
use Conan for extra's dependencies on Windows
...
conan install src\win32\conanfile.txt --build=missing
cmake -B build .
cmake --build build --config Release --target PACKAGE
2023-06-02 19:08:55 -04:00
Sadie Powell
091c0eea28
Rip out check_functions().
...
This isn't actually used anywhere and just slows down the build.
2022-01-13 01:42:46 +00:00
Sadie Powell
eaaabd8de0
Rip out calculate_depends().
...
This code is incredibly error prone and it just duplicates behaviour
that CMake already implements with depend.make files.
2022-01-13 01:42:38 +00:00
Sadie Powell
33b42ce86e
Use the default CMake modules for finding gettext instead of our own.
2022-01-12 23:05:25 +00:00
Sadie Powell
561b205c4a
Merge branch '2.0' into 2.1.
2021-08-01 18:53:24 +01:00
Josh Soref
fd88b756fc
Fix various spelling issues ( #274 ).
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >.
2021-06-17 15:02:30 +01:00
Sadie Powell
53cd3f47b5
Use elseif in CMake where possible.
2021-04-27 19:20:39 +01:00
Sadie Powell
c21f6eb5a3
Rip out compatibility code for now-unsupported CMake versions.
2021-04-27 19:20:36 +01:00
Sadie Powell
e2aeab970b
Remove the repeated conditions in cmake endif/else statements.
2021-04-27 17:49:21 +01:00
Robby
76ce8ece1a
Cleanup some excess whitespaces and tabs, and fix a few typos along the way.
2017-01-17 05:03:25 +01:00
Peter Powell
2e370f6ed5
Error out if any 1.8 modules are in the the module directory.
2016-01-19 21:07:34 +00:00
Adam
f20bac996d
Fix Windows build and update library names to the newer ones.
...
Also fix crash on Windows when unloading a module because it threw an
exception.
2014-05-30 18:14:55 -04:00
Adam
f0f43cf426
Fix build on late versions of cmake 2.4
2013-07-26 12:57:36 -04:00
Adam
6db0186947
Fix not setting the correct compile flags on modules and fix the resulting warnings
2013-07-20 03:06:20 -04:00
Adam
781defb707
Move extras header files out of extras so when users copy modules out they dont need the headers too
2013-04-16 01:58:29 -05:00
Adam
16c124d34e
Rewrote modules/CMakeLists.txt and do not build the 'extras' modules, if users want them built they should copy or symlink them out of extras
2013-04-15 01:00:45 -05:00
Adam
b405484fb9
Fix OSX buld and a warning in modulemanager.cpp
2013-04-12 17:19:29 -04:00
Adam
207c46c871
Move some of the modules in extras/ that arent really extra out of extras. Mark our modules as VENDOR and allow modules to have multple types.
2013-04-10 22:26:40 -05:00
Adam
ccecfdf445
Made the missing dependencies message from cmake more descriptive for modules
2013-04-06 19:03:07 -05:00
Adam
81c89bb708
Fix missing dependencies message to include the source folder, there is no specific source file on modules with multiple source files
2013-03-15 07:43:17 -05:00
Adam
7d50818ee1
Fix some OpenBSD build issues, and bugs #1485 #1486 #1487
2013-02-19 00:48:21 -05:00
Naram Qashat
077ae27369
Fix linking libraries so their rpath is set correctly and isn't stripped on install.
2012-12-25 02:20:00 -05:00
Adam
1dacc648a0
Made the warnings given by cmake for not having
...
the dependencies for modules look less scary as
they confuse dumb people currently
2012-10-09 04:13:04 -04:00
Naram Qashat
38ad523f91
Fix a few oddball warnings that came up from clang, and also make it so webcpanel.so can be compiled under Mac OS X.
2012-09-24 15:54:49 -04:00
Adam
e3d5140dcc
Added a web panel module + a default template
2012-09-01 18:54:51 -04:00
Adam
675b113c3e
Split up db/conf/lib/locale install directories, and allow alternate ones to be specified at runtime
2012-05-06 21:43:50 -04:00
Naram Qashat
c80e7844b7
Attempt to fix issue with modules having their link libraries in the wrong order.
2011-12-03 19:17:41 -05:00
Adam
28e8190e6b
Fixed some cmake warnings
2011-08-27 20:47:30 -04:00
Adam
e66063e630
Rewrote the example configurations and split them
...
up into seperate files for each pseudo client.
Also reorganized how the modules are stored, and
made most of the old "extra" modules "core"
2011-08-05 05:35:31 -04:00
Adam
feb81c51d2
Clarify the module dependency messages generated by cmake are non fatal
2011-03-04 02:17:51 -05:00
Adam
08583dc107
Moved the language strings which are only used once
...
out of the core and into the modules that use them.
2011-02-04 15:30:31 -05:00
Adam
35e328bcb6
Fixed Windows build
2010-12-24 01:23:22 -05:00
Adam
3edc6d70b9
Fixed building anopesmtp on Windows, fixed some cmake problems with calculate_depends, and fixed building without gettext
2010-11-01 16:07:18 -04:00
Adam
98bdd9749a
Fixed build on cmake2.6
2010-10-30 20:12:52 -04:00
Adam
fb9f41b3e5
Made gettext work on most OSs. Tested on Debian, FreeBSD, Gentoo, and Windows.
...
Added a search path option to the Config script for cmake to use when finding libraries for modules or for gettext.
Fixed m_mysql and m_ssl to work under Windows, made the Windows Config
program remember the last used options, and fixed Windows release builds.
2010-10-30 19:41:13 -04:00
Adam
a950ed8cab
Rewrote the MySQL API to use threads. This acts similar to before, but is faster. Removed db_mysql_execute for now.
2010-08-15 01:45:38 -04:00