Deamhan
b92c30191c
CMake: Add wxUSE_NO_RTTI option
...
This is similar to configure --enable-no_rtti option.
Closes https://github.com/wxWidgets/wxWidgets/pull/1405
2019-07-13 16:57:51 +02:00
Tomay
8deb2cf0bb
Add wxUSE_WINSOCK2 wxMSW option to include winsock2.h
...
Including <winsock.h> and <winsock2.h> is incompatible and if the
application wants to use the latter, it may be convenient to define
wxUSE_WINSOCK2 when building wxWidgets instead of having to work around
winsock.h implicit inclusion from include/wx/msw/wrapwin.h.
Closes https://github.com/wxWidgets/wxWidgets/pull/1122
2019-01-28 00:34:34 +01:00
Maarten Bent
5348b4fa3b
CMake: Improve layout of third party libraries summary
...
Add more external libraries to the summary, like configure does.
2018-12-12 21:28:00 +01:00
Maarten Bent
042b17512e
CMake: Check for libSDL only on Unix
2018-12-12 21:28:00 +01:00
Maarten Bent
14570b4fa3
CMake: Find more external libraries
...
Check for LibNotify, MSpack, XTest and GnomeVFS2.
2018-12-12 21:27:56 +01:00
Maarten Bent
e984857b0e
CMake: Improve webview checks
...
Try to match behavior of configure.
Fix building webview sample with STC disabled.
2018-12-03 00:20:38 +01:00
Maarten Bent
271ed4d990
CMake: Support SDL audio back-end
...
Rename UNIX_SOUND_SRC_SDL to UNIX_SOUND_SDL_SRC to match the
signature of other variables (ending with _HDR or _SRC).
2018-12-02 17:45:32 +01:00
Maarten Bent
1c5cbe0a61
CMake: Add support for webkit2
2018-12-02 03:21:33 +01:00
Glen Fletcher
ae1fa08188
Add C++17 to the list of supported C++ Standards in CMake build
...
Allow building with set(CMAKE_CXX_STANDARD 17).
Closes https://github.com/wxWidgets/wxWidgets/pull/1029
2018-11-20 22:22:01 +01:00
Maarten Bent
e1e5169e4b
CMake: enable Direct2D graphics context by default
...
Disable it when the d2d1.h header is not found.
When using MSVC, match the behaviour of setup.h.
2018-11-04 16:49:14 +01:00
Maarten Bent
5c4741430a
CMake: move find_package for lzma and secretstore to init.cmake
2018-11-04 16:35:58 +01:00
Maarten Bent
f1cf525944
Add CMake option to set wxDEBUG_LEVEL
...
It is no use adding it to the generated setup.h because this section is commented out,
so add it as compiler option instead.
The default option is 'Default' in which case no compiler option is added.
2018-10-25 20:46:31 +02:00
Maarten Bent
1dfe088b4d
Support WXQT in CMake
2018-09-30 17:23:57 +02:00
Maarten Bent
0bf459de92
Fix typos and whitespace in CMake files.
2018-08-17 20:00:47 +02:00
Maarten Bent
bfee89e3c4
CMake: Auto-enable wxUSE_STD_CONTAINERS when wxUSE_STL is enabled
2018-07-29 16:26:42 +02:00
Vadim Zeitlin
e38866d3a6
Merge branch 'lzma'
...
Add support for using externally available liblzma via new
wxLZMA{Input,Output}Stream classes.
Closes https://github.com/wxWidgets/wxWidgets/pull/771
2018-04-06 15:41:36 +02:00
Vadim Zeitlin
311b2aee5f
Check for liblzma headers in configure too and add wxUSE_LIBLZMA
...
Prepare for using liblzma in wxWidgets code by adding the necessary
option and updating the configure check for it (which had been already
present due to libtiff possible dependency on liblzma).
No real changes yet.
2018-04-06 15:39:39 +02:00
Vadim Zeitlin
70cb9739f6
Merge branch 'cmake-fixes' of https://github.com/MaartenBent/wxWidgets
...
CMake fixes including support for building wxGTK3 on Windows.
See https://github.com/wxWidgets/wxWidgets/pull/768
2018-03-31 01:42:49 +02:00
Maarten Bent
c103ab686c
CMake: Disable dialup sample in macOS
2018-03-23 22:00:29 +01:00
Kolya Kosenko
d6a284783a
Fix wxGTK/Win32 CMake build
2018-02-27 23:47:27 +02:00
Tobias Taschner
623a9123a1
CMake: Enable multi-processor compilation for MSVC
...
Add option wxBUILD_MSVC_MULTIPROC which defaults to ON
to add /MP the MSVC compiler options.
2018-02-08 21:13:44 +01:00
Maarten Bent
04b79788fc
CMake: declare third-party libraries in options
...
So the wxUSE_[lib] variables can be used in init.cmake.
2018-01-29 00:45:28 +01:00
Maarten Bent
e6b9b571ab
CMake: fix and add more options
...
Don't overwrite options in setup.cmake.
Align text in summary message.
Always set wxUSE_XRC to values of wxUSE_XRC, same as in setup.h.
Disable wxUSE_XRC when expat is disabled.
2018-01-28 23:52:11 +01:00
Maarten Bent
5017c6c8c2
CMake: expat code in separate file
...
Consistent with other external libraries.
2018-01-27 21:47:01 +01:00
Maarten Bent
6d12732f52
CMake: Remove Unix-only from OnFatalException description
2018-01-24 01:04:42 +01:00
Tobias Taschner
da2b8ea812
Add CMake build system
...
Add CMake build system for libraries, tests and samples
update_files.py converts build/files into CMake format.
build/update-setup-h has been modified to update build/cmake/setup.h.in.
2017-01-03 20:53:10 +01:00