Maarten Bent
9732a2d99f
CMake: Allow to toggle between static and dynamic MSVC runtime
...
After enabling wxBUILD_USE_STATIC_RUNTIME it cannot be disabled again
(except by manually modifying CMAKE_C*_FLAGS_*). Improve this by setting
the build flags to their default value when wxBUILD_USE_STATIC_RUNTIME
is disabled.
Closes https://github.com/wxWidgets/wxWidgets/pull/1338
2019-06-07 16:39:16 +02:00
Vadim Zeitlin
02adddfa1a
Merge branch 'wxlistctrl-virtual-checkboxes' of https://github.com/MaartenBent/wxWidgets
...
Add support for checkboxes to virtual wxListCtrl too.
See https://github.com/wxWidgets/wxWidgets/pull/1315
2019-05-10 01:39:33 +02:00
NikitaFeodonit
910aaa3961
Fix include directories for built-in libraries in CMake build
...
This fixes ''wx/setup.h' file not found' error in CMake macOS build.
Closes https://github.com/wxWidgets/wxWidgets/pull/1314
2019-05-10 01:37:26 +02:00
Maarten Bent
d262aa02d1
Remove obsolete wxOSX/Carbon listctrl header
2019-05-04 15:03:20 +02:00
New Pagodi
5f39bb4157
Update other test build files by hand for the new STC test
2019-03-20 17:07:56 -05:00
New Pagodi
f2e1aa46fe
Modify build system files to use PlatWXcocoa.mm
...
A recent commit added the file src/stc/PlatWXcocoa.mm needed for wxSTC
with the cocoa port. This commit modifies the build system files to
use this new file when it is needed.
2019-03-20 00:12:41 -05:00
Maarten Bent
6be0e7749c
CMake: don't search SDL on macOS
...
It doesn't compile when enabled.
2019-02-03 19:01:00 +01: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
NikitaFeodonit
537564ae19
CMake: use the target property OUTPUT_NAME instead of LOCATION in wx_get_dependencies
2019-01-21 18:19:39 +03:00
NikitaFeodonit
ad9175d79b
CMake: wx-config can not be used to connect the libraries with the debug suffix, remove 'd' suffix for the UNIX build in wx_set_target_properties
2019-01-21 13:47:15 +03:00
NikitaFeodonit
1bc43c8d7a
CMake: in wx_get_dependencies, for existing targets, use its LOCATION instead of the target name
2019-01-21 13:46:24 +03:00
NikitaFeodonit
3510319048
CMake: add processing the C flags for wxBUILD_USE_STATIC_RUNTIME
2019-01-21 13:45:46 +03:00
Jay Nabonne
1d117b75f7
Add wxGraphicsContext implementation for wxQt
...
Add graphics renderer using Qt classes and use it by default in wxQt
port under MSW.
Closes https://github.com/wxWidgets/wxWidgets/pull/1139
2019-01-17 00:50:47 +01:00
Vadim Zeitlin
288d26598c
Merge branch 'dvc-var-height'
...
Optimize generic wxDataViewCtrl performance with variable line heights.
Closes https://github.com/wxWidgets/wxWidgets/pull/1053
2019-01-16 01:25:06 +01:00
Maarten Bent
8555f4abb0
CMake: Fix wx-config library list with monolithic build
...
Closes https://github.com/wxWidgets/wxWidgets/pull/1132
2019-01-11 14:29:26 +01:00
Jeff Bland
2937369869
CMake: Fix monolithic build
...
Monolithic build regressed with commit
815d288c4fedba044a9863c883d6dd9f53526668 "Set wx-config base, gui and
built libraries".
The code queries each possible target name and creates lists of the
valid targets. In the monolithic build, none of the normal target names
exist, so the list is empty. The empty list is then passed to STRIP,
causing cmake to fail due to not having enough arguments.
By quoting the STRIP params we can pass an empty argument and thus
prevent the error of not-enough arguments.
See https://github.com/wxWidgets/wxWidgets/pull/1100
2018-12-25 18:50:06 +01:00
Maarten Bent
db4c983881
CMake: Add missing stc and wxscintilla compile flags
...
This fixes absence of highlighting and folding in CMake builds.
Closes https://github.com/wxWidgets/wxWidgets/pull/1097
Closes #18306 .
2018-12-23 15:21:13 +01:00
Vadim Zeitlin
b2cdd287bb
Resolve change log conflict with master
...
Reapply the change log change manually to master version of the file to
let the CI builds merge this branch automatically.
2018-12-20 02:24:49 +01:00
Maarten Bent
c1013d9bfc
CMake: Add more option validity checks
2018-12-12 21:28:01 +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
91b6305dcd
CMake: Improve checking for external libraries
...
Do not abort when libLZMA or libSecret can not be found, just show a warning.
Do not search for libSecret on macOS.
Disable libraries internally (not in cache) when not searching for them.
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
b9d31dffc5
CMake: Improve finding Iconv
...
Continue when Iconv can not be found.
Silence warnings when testing if second argument for iconv() is const.
Use correct include dir.
2018-12-12 21:27:57 +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
79344fc5b6
CMake: Fix locale_t type check
...
Test failed when xlocale.h did not exist.
2018-12-12 20:28:41 +01:00
Maarten Bent
0665db6c1d
CMake: Fix html zip sample dependency check
2018-12-12 20:28:41 +01:00
Maarten Bent
981555b788
CMake: Do not add -pthread to link flags with clang on Windows
...
It causes argument unused warnings.
2018-12-12 20:28:41 +01:00
Maarten Bent
9f21af693c
CMake: Install wxrc on all platforms, closes #18289
2018-12-12 20:28:40 +01:00
jensgoe
d6a137b730
Improve wxDataViewCtrl performance with wxDV_VARIABLE_LINE_HEIGHT
...
Store the line heights in a cache to make the (generic) wxDataViewCtrl
usable with this style.
2018-12-07 04:05:16 +01:00
Maarten Bent
28a13209a2
CMake: Compile and link with -pthread when using pthread
2018-12-06 23:22:33 +01:00
Maarten Bent
c28ae123c1
CMake: Set wx-config extra libraries and flags
2018-12-06 22:48:03 +01:00
Maarten Bent
12ed604cb3
CMake: Set wx-config name variables
2018-12-06 22:39:42 +01:00
Maarten Bent
33a550d97f
CMake: Set wx-config base, gui and built libraries
...
Remove unused propagated variables.
2018-12-06 22:39:41 +01:00
Maarten Bent
bc4b56bf88
CMake: Reorder items in config.cmake
...
Group similar items together.
2018-12-06 22:39:41 +01:00
Maarten Bent
8cf2b683be
CMake: Fix installation include directory
2018-12-06 22:39:41 +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
8192d507e3
CMake: Fix wx-config include dirs
2018-12-02 17:45:43 +01:00
Maarten Bent
c0544afcd7
CMake: Improve installation on Linux
...
Install setup header, wx-config and wxrc. Make wx-config executable.
Add renamed files and symbolic links to uninstall target.
2018-12-02 17:45:43 +01:00
Maarten Bent
c80aecbfc1
CMake: Put include and link commands on one line
...
Use correct check for LIBICONV.
2018-12-02 17:45:43 +01:00
Maarten Bent
29666f1d91
CMake: Fix wxscintilla with precompiled headers and clang
...
The problem also occurs on Linux.
2018-12-02 17:45:35 +01:00
Maarten Bent
5282f92f8f
CMake: Silence OpenGL policy warning
2018-12-02 17:45:34 +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
97f64e9941
CMake: Build the webextensions plugin
2018-12-02 03:23:02 +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
660fbca82d
CMake: Add include directories and libraries for all packages
...
lzma.h could not be found when building with wxUSE_LIBLZMA on macOS. Add
the found include directories and libraries from find_package(LibLZMA)
to the base library.
For consistency, add the include directories and libraries of all
find_package usage.
Closes https://github.com/wxWidgets/wxWidgets/pull/1024
2018-11-18 01:01:28 +01:00
Maarten Bent
ec4b71afa0
Update tiff submodule
...
Add the new files to the build system. Disable support for webp and zstd
because we do not want to depend on external libraries.
2018-11-17 19:08:40 +01:00
Vadim Zeitlin
cf980cf5e3
Merge branch 'cmake-gstreamer-d2d' of https://github.com/MaartenBent/wxWidgets
...
CMake improvements: better gstreamer and Direct2D support.
See https://github.com/wxWidgets/wxWidgets/pull/1014
2018-11-05 18:51:10 +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