Maarten Bent
442b82a6c5
CMake: add more STL checks and enable them in setup.h
...
Closes https://github.com/wxWidgets/wxWidgets/pull/1862
2020-05-22 23:15:52 +02:00
Vadim Zeitlin
53a35d15bc
Merge branch 'dynlib-simplify'
...
Enhance wxDynamicLibrary error logging and simplify code by not checking
for dlopen() and dlerror() that are always available nowadays.
See https://github.com/wxWidgets/wxWidgets/pull/1849
2020-05-21 02:13:10 +02:00
Maarten Bent
ba3fd12efb
CMake: fix linking the DLL sample in monolithic build
2020-05-17 20:01:03 +02:00
Maarten Bent
0f806ad96d
CMake: use wx prefix in library names
...
Rename all library targets to start with wx. This way it does not use generic
names like base or core that could interfere with other libraries that add
include the wxWidgets project.
2020-05-17 20:01:02 +02:00
Maarten Bent
0c2d05f52f
CMake: add library aliases using wx:: namespace
2020-05-17 20:01:02 +02:00
Maarten Bent
498b79d619
CMake: copy data of widgets sample to correct directory
2020-05-17 20:01:02 +02:00
Maarten Bent
ef741462cd
CMake: fix file names in info header
2020-05-17 20:01:02 +02:00
Maarten Bent
e69755c203
CMake: check if the compiler supports using precompiled headers
...
Build the cotire test project and check if it succeeds. Also check if the
'had text segment at different address' warning does not appear in the build
output. If it does not succeed, disable usage of precompiled headers.
If the PCH option was changed, clean the project and rebuild it again. Do not
clean everytime the project is configured because (re)building the cotire test
project takes some time.
2020-05-17 20:01:01 +02:00
Vadim Zeitlin
7a82a0bbf5
Assume dlerror() function is always available when dlopen() is
...
Remove separate checks for dlerror() which don't seem to be needed under
any platform any longer.
No real changes, just slim down configure/CMake a tiny bit.
2020-05-15 00:00:06 +02:00
Vadim Zeitlin
fea8c608b1
Remove checks for shl_load() from configure/CMake
...
This function is not used any more since e289eb07e1
(Get rid of
non-POSIX code for loading dynlibs on *nix, 2020-05-13), so don't check
for it and don't defined the corresponding HAVE_SHL_LOAD symbol.
2020-05-14 23:59:38 +02:00
wangqr
f730da3c14
Add imm32.lib to wxStyledTextCtrl
2020-05-11 00:37:56 -04:00
Maarten Bent
d3d1a91620
CMake: change default GTK version from 2 to 3
2020-05-06 01:52:27 +02:00
Maarten Bent
b1ddd454f8
CMake: add wxUSE_NATIVE_DATAVIEWCTRL option
2020-05-06 01:52:27 +02:00
Maarten Bent
04d82e24cd
CMake: enable -Wall for builds using clang or gcc
2020-04-27 00:33:01 +02:00
Paul Cornett
4d3190c9f7
Revert "Change default GTK version for CMake from 2 to 3"
...
My attempt to use GTK2 for Travis CI build didn't work
2020-04-20 07:37:12 -07:00
Paul Cornett
6d25b49f95
Change default GTK version for CMake from 2 to 3
2020-04-20 06:55:18 -07:00
Vadim Zeitlin
ab7645e013
Merge branch 'png-sse2' of https://github.com/MaartenBent/wxWidgets
...
Allow to build libpng on more platforms and enable SSE2 for Intel.
See https://github.com/wxWidgets/wxWidgets/pull/1806
2020-04-19 21:01:06 +02:00
Maarten Bent
f226fc0c76
Enable SSE2 in libpng build
2020-04-19 16:31:22 +02:00
Maarten Bent
f67a7c08f7
Allow to build libpng on more platforms
...
Add the hardware-specific source files to the build systems. Do not add MIPS
and PowerPC to MSVC build files, because these include <stdint.h> which is not
available for old MSVC versions.
2020-04-19 16:31:22 +02:00
Konstantin S. Matveyev
4d7000d3d4
Add missing Mac headers to the file list
...
Add wx/osx/core/dataview.h and wx/osx/core/mimetype.h and reorder the
files alphabetically.
Closes https://github.com/wxWidgets/wxWidgets/pull/1797
2020-04-15 02:15:18 +02:00
Maarten Bent
c96014db27
CMake: install toucan.png with widgets sample
...
It is used on the StaticBitmap page.
2020-04-10 00:51:17 +02:00
Maarten Bent
4122511e76
CMake: Add c++20 option, enable setting c++ version for MSVC
...
MSVC supports setting the CMAKE_CXX_STANDARD since VS2015 update 2.
2020-04-08 22:13:52 +02:00
Maarten Bent
3c4c4ee273
CMake: Only test stl for c++ versions before 11
2020-04-07 19:28:46 +02:00
Maarten Bent
5c2d186132
CMake: Add variable to indicate if c++11 or later is enabled
...
Use it in macOS checks.
2020-04-07 19:28:46 +02:00
Maarten Bent
c8209a5111
CMake: Set wxBUILD_CXX_STANDARD globally instead of only on targets
...
This way the tests in setup.cmake will use the correct c++ version.
2020-04-07 19:09:58 +02:00
Vadim Zeitlin
706c8e8ad6
Merge branch 'disable-native-animation'
...
Allow the generic animation classes to be used on all platforms.
See https://github.com/wxWidgets/wxWidgets/pull/1768
2020-04-07 00:40:45 +02:00
Maarten Bent
3978733a37
CMake: Enable DPI awareness options for demos
2020-03-27 23:11:00 +01:00
Robin Dunn
1fa74df7f4
Remove --disable-nativeanimation and wxUSE_NATIVE_ANIMATIONCTRL
2020-03-25 14:03:28 -07:00
Vadim Zeitlin
842e185f3b
Move generic files to common sources/headers in the right place
...
This corresponds to the changes already manually done in
build/bakefiles/files.bkl but is now done in the right file and so also
for CMake-based build system.
2020-03-25 13:57:39 +01:00
Vadim Zeitlin
636729bd34
Update CMake version of setup.h header too
...
This is the result of running build/update-setup-h too.
2020-03-25 12:20:47 +01:00
Vadim Zeitlin
89229b7090
Move src/msw/ole/access.cpp to low-level MSW sources
...
This file should be used even in wxUniv builds.
This fixes linking of wxCore when using wxUniv/MSW.
2020-02-17 19:49:38 +01:00
Maarten Bent
016061311a
CMake: Add wxBUILD_FLAVOUR option
...
It is similar to --with-flavour option from configure.
Mark some build options as advanced.
2020-02-16 21:33:44 +01:00
Maarten Bent
4196c67b72
CMake: Create wx-config for MinGW builds
...
Use the same output folder for setup.h and wx-config as configure does.
2020-02-16 16:35:24 +01:00
Maarten Bent
10abcc0f78
CMake: Improve consistency in names of output files
...
Match the filenames used by configure (gcc, clang) and the visual studio
solutions. The biggest difference is that wxARCH_SUFFIX (e.g. _64) is not
included in the dll names, and the position of the version number in the
libraries.
2020-02-12 22:30:32 +01:00
Maarten Bent
ce968d0ecb
Enable building without wxUSE_WEBVIEW_IE
2020-01-17 09:37:12 +01:00
Tobias Taschner
41f4a21736
Apply suggestions from code review
...
Co-Authored-By: Maarten <MaartenBent@users.noreply.github.com >
2020-01-16 10:15:11 +01:00
Tobias Taschner
21cc8a4e49
Update setup.h files
2020-01-15 15:58:30 +01:00
Tobias Taschner
f919b6e2f5
Rename from webview_edgec to webview_edge
2020-01-11 14:47:47 +01:00
Tobias Taschner
f2196abca3
Add wxWebViewEdgeChromium to other build systems
2020-01-10 22:22:30 +01:00
Tobias Taschner
6750d30102
Load WebView2Loader.dll dynamically
2020-01-10 22:22:29 +01:00
Markus Pingel
6a99e7e273
Add wxWebView Edge (Chromium) implementation
...
This backend requires WebView2 SDK and enables usage of Edge (Chromium)
on Windows 7 and newer
2020-01-10 22:22:28 +01:00
Tobias Taschner
1afeaa324d
Added new build option wxUSE_WEBVIEW_EDGE
2020-01-10 21:42:18 +01:00
AliKet
c09db9c23d
Add native wxSearchCtrl for GTK+ port
2020-01-07 03:15:35 +01:00
Vadim Zeitlin
028afa194a
Add wxUSE_NATIVE_DATAVIEWCTRL build option
...
It defaults to 1, but can be set to 0 to force using the generic version
of the control even under GTK or Mac, where the native version is used
by default.
This can, unfortunately, be useful to work around various but multiple
native control limitations.
2019-12-15 16:23:47 +01:00
Maarten Bent
083f4b3c32
Rename manifests to use underscores
2019-12-13 21:44:26 +01:00
Maarten Bent
38c38e2274
CMake: private includes before public includes
...
This way, build-in headers (for example png headers) will always be included
before system headers.
2019-11-29 00:21:26 +01:00
Maarten Bent
4d72739714
CMake: fix using cotire with clang on Windows
2019-11-29 00:21:26 +01:00
Maarten Bent
a6bfd845b4
CMake: find PangoFT2 when wxUSE_PRIVATE_FONTS is enabled in GTK
...
Rewrite and simplify FindFontconfig.
2019-11-29 00:21:25 +01:00
Maarten Bent
3d9ee4852a
CMake: fix build with wxUSE_OLE disabled
...
wxDirDialog falls back to using wxGenericDirDialog, add this file to the
sources.
2019-11-27 21:24:33 +01:00
Maarten Bent
b42de093f6
CMake: disable wxUSE_MIMETYPE when wxUSE_TEXTFILE is disabled
2019-11-27 21:24:32 +01:00