Commit Graph

77 Commits

Author SHA1 Message Date
fd0b5f7a21 fix: should not use mlang in such a way in mingw
All checks were successful
Compilation test / build (push) Successful in 14m24s
2024-12-01 02:32:41 +01:00
Jan Engelhardt
0f7014ab57
build: upgrade to C++17 when ICU is used (#310)
ICU 75 requires the use of C++17.

`SET(CMAKE_CXX_STANDARD 17)` has no effect after the first target has been defined
or so, therefore the detection of the conversion library is split and partially
moved upwards.
2024-06-11 20:46:59 +02:00
Vincent Richard
8bed1cc743
Fixed confusing source/bin dirs in makefile. (#291) 2024-01-12 13:36:00 +01:00
bmagistro
022303bbc9
Build: static lib dependency for ICU (#281)
* Fix missed path for generated files in #277

* Update cmake to include char conversion dependency on static library
2023-12-31 15:54:48 +01:00
bmagistro
7ada1c974c
Build: fix missed path for generated files in #277 (#278) 2023-12-31 15:35:57 +01:00
Jan Engelhardt
82377e0342
Build: add FreeBSD & libc++ compilation support (#288)
* build: add FreeBSD compilation support

* build: unbreak compilation with clang libc++

unary_function is obsolete with C++11 and removed in C++17.
gnu-gcc-libstdc++ still has the class, but llvm-clang-libc++ does
not, and there is a compile error.

vmime should have just stopped using unary_function with commit
v0.9.2-48-g8564b2f8.

	$ cat x.cpp
	$ clang++ -std=c++17 -stdlib=libc++ -c x.cpp
	In file included from x.cpp:1:
	In file included from /usr/local/include/vmime/net/transport.hpp:34:
	In file included from /usr/local/include/vmime/net/service.hpp:36:
	In file included from /usr/local/include/vmime/net/session.hpp:40:
	In file included from /usr/local/include/vmime/utility/url.hpp:30:
	/usr/local/include/vmime/propertySet.hpp:339:33: error: no template named
	/'unary_function' in namespace 'std'; did you mean '__unary_function'?
		class propFinder : public std::unary_function <shared_ptr <property>, bool> {
					  ~~~~~^~~~~~~~~~~~~~
					       __unary_function
2023-12-31 15:22:36 +01:00
Jan Engelhardt
1a35bb6d71
Build: add Solaris compilation support (#282) 2023-11-09 20:32:47 +01:00
bmagistro
c6b9ad3c78
Update cmake (#277)
This restructures the cmake a little bit to only find components if they
are actually enabled.  It also rearranges things to better group some
related items.  This change also fixes include directories for the build
target allowing the library to be embedded making the install step
optional.

Signed-off-by: Ben Magistro <koncept1@gmail.com>
2023-08-09 10:59:38 +02:00
vincent-richard
7503cd3747 #200 Fixed installation directory 2021-05-06 21:06:47 +02:00
vincent-richard
36cc0c65c8 Misc changes for CPack. 2020-02-14 23:02:58 +01:00
Vincent Richard
a9b822140b #196 Allow overriding CMAKE_CXX_FLAGS 2018-04-24 20:31:26 +02:00
Vincent Richard
8564b2f8b0 #193 Dropped support for boot::shared_ptr<>, enabled C++11 support in CMake 2018-04-01 11:29:07 +02:00
rusdevops
51af739f8e Update CMakeLists.txt 2017-10-12 08:06:53 -07:00
rusdevops
b848dec86a Update CMakeLists.txt 2017-10-12 07:53:24 -07:00
rusdevops
a965f64262 Update CMakeLists.txt 2017-10-04 11:52:54 +03:00
Vincent Richard
243efb267f Fixed #177: thread id on OpenBSD. 2017-08-09 20:39:54 +02:00
Vincent Richard
3d3ed7b260 Issue #175: use CMake macros for installation dir. 2017-06-19 22:08:45 +02:00
0xd34df00d
1862f165c2 Remove target architecture detection. 2017-04-08 20:02:34 -04:00
Vincent Richard
041854731c Issue #167: don't build samples by default. 2017-03-13 18:45:26 +01:00
Vincent Richard
428c49b69f Issue #166: fixed include paths. 2017-03-13 18:44:52 +01:00
Vincent Richard
7627129f4e Release 0.9.2. 2017-01-03 21:00:08 +01:00
Vincent Richard
b1b3f30e8d Fixed #151: don't ignore CMAKE_CXX_FLAGS command line argument. 2016-12-06 22:35:18 +01:00
Vincent Richard
4ea1cdc2a1 Don't recursively include compile flags. 2016-11-02 22:27:38 +01:00
Vincent Richard
b133ce8cfb Fixed #142: fixed install location of generated headers. 2016-09-19 21:08:35 +02:00
Vincent Richard
4d1a6ad2f2 Issue #138: fixed MSG_NOSIGNAL on Mac OS. 2016-04-25 08:28:34 +02:00
Vincent Richard
87b052588b Link with 'anl' only when building shared lib. 2016-04-10 19:16:44 +02:00
Vincent Richard
08a3ba2ba1 Misc fixes in error handling. 2016-03-25 21:50:35 +01:00
Vincent Richard
fed1469ade Fixed location of config and lib export include files. 2016-03-25 08:25:43 +01:00
Vincent Richard
ab14eefa0d Fixed location of config.hpp in outsourced build. 2016-03-11 21:07:44 +01:00
Vincent Richard
194a797055 Asynchronous resolving. 2016-03-02 20:33:55 +01:00
Vincent Richard
baec395c8c Added support for TCP Keepalive. 2016-02-28 20:43:43 +01:00
Vincent Richard
c5c66f9fdc Issue #103: fix badly encoded words. 2015-02-16 18:43:03 +01:00
Vincent Richard
d13e1133f0 Fixed build issues when disabling filesystem features. 2015-01-01 12:54:21 +01:00
Vincent Richard
f3c9002af5 Build intermediate library for test runner and utils to speed up build. 2014-07-24 22:12:15 +02:00
Vincent Richard
b5d26604ef Use string option instead of mutually exclusive bool options for charset and TLS library. 2014-05-27 21:59:37 +02:00
Mark Brand
266267be54 remove -ansi because it interferes with -std=c++11 2014-03-26 23:35:00 +01:00
Vincent Richard
d49ce7cd4d Windows charset converter (thanks to ElmüSoft). 2014-02-06 21:29:59 +01:00
Vincent Richard
d4c30d9b7b Fixed build of examples. 2014-01-21 20:23:51 +01:00
Vincent Richard
10859dc9ef C++11 std::shared_ptr fixes. 2014-01-16 19:31:11 +01:00
Vincent Richard
152c6bed75 Merged source and header files in directory structure. Got rid of SConstruct build. 2013-12-29 10:02:12 +01:00
Vincent Richard
a15d2d2044 Allow overriding auto-detection of shared_ptr<> implementation. 2013-12-10 08:54:54 +01:00
Vincent Richard
f9913fa28a Boost/C++11 shared pointers. 2013-11-21 22:16:57 +01:00
Vincent Richard
4569075951 Fixed build of samples (now use CMake). 2013-10-20 13:24:34 +02:00
Vincent Richard
33a630f791 Fixed case in include file name. 2013-09-06 23:10:54 +02:00
Vincent Richard
5084db331c Added support for standard 64-bit integer type. 2013-09-02 10:12:08 +02:00
Vincent Richard
fdeaec5e05 64-bit type detection. 2013-07-15 10:35:09 +02:00
Vincent Richard
3ae83c9cf9 Changed the way the path to export header file is specified. 2013-05-14 19:26:11 +02:00
Vincent Richard
20c1358402 Put generated header files in a separate list. 2013-05-13 12:23:06 +02:00
Vincent Richard
993f3bf56d Fixed export header for static/shared build. 2013-05-13 11:16:31 +02:00
Vincent Richard
1a53602555 Do not include generated header files in ADD_LIBRARY(). 2013-05-12 21:27:34 +02:00