Maarten Bent
138d1ab021
CMake: Support header-only NanoSVG library
...
Check if the NanoSVG target defines any library locations.
Add a private compile definition to wxcore, instead of adding another setup.h option.
2022-05-11 01:55:19 +02:00
Maarten Bent
603c13aaba
CMake: Add support for external NanoSVG library
2022-05-11 01:54:03 +02:00
Maarten Bent
fb8e860c05
CMake: Include third-party library directories when they are defined
...
Recent versions of CMake's FindJPEG also has the _DIRS variant.
2022-05-05 22:07:52 +02:00
Maarten Bent
24e20d80e3
CMake: Enable building with Cairo renderer on MSW without GTK
2022-04-20 20:33:18 +02:00
Maarten Bent
d61c9ee4bf
CMake: Apply source groups using a function
...
This will add source groups to all projects, not only libraries.
And there is no need anymore to include it in every project file.
2022-04-11 23:18:58 +02:00
Maarten Bent
614d58bf38
CMake: Set precompiled headers when adding libraries
...
Combine the three pch related functions into one.
2022-04-10 20:46:56 +02:00
Maarten Bent
de495c19a3
CMake: Make all target_include_directories private
...
There is no need to expose them to external projects.
2022-04-10 20:46:26 +02:00
Tobias Taschner
6d7f35090d
Removed macOS only wxWebKitCtrl
...
This macOS only class duplicated functionality and code of wxWebView.
2020-12-14 10:17:35 +01:00
Maarten Bent
3ab4d9461b
CMake: add missing libraries for iOS build
...
Remove unused section from file list.
2020-06-18 20:28:12 +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
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
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
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
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
a02bb61e90
Fix build errors after modifying CMake setup.h.in
...
Always set a value to ICONV_CONST so it will be defined in setup.h.
Add a check for strtoull to prevent a macro redefined warning.
Link with WebKit framework to fix macOS build with wxUSE_WEBKIT.
2018-10-25 20:46:31 +02:00
Maarten Bent
fa19acacbe
Improve WXGTK build on Windows with CMake
2018-09-30 19:49:54 +02:00
Maarten Bent
1dfe088b4d
Support WXQT in CMake
2018-09-30 17:23:57 +02:00
Vadim Zeitlin
f71c4f55a3
Completely remove "adv" library from CMake build system
...
This build system is new and so doesn't need to keep "adv" for
compatibility.
2018-08-27 21:13:04 +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
e4c0beac25
CMake: Remove duplicate wxUSE_IMAGE option
2018-03-23 21:59:38 +01:00
Maarten Bent
e2ddc3e863
CMake: Fix GTK3 Win32 build
...
Add 'BEFORE' to target_include_directories so we include the headers
of the buildin third-party libraries before headers of third-party
libraries included in wxTOOLKIT_INCLUDE_DIRS.
2018-03-23 21:58:39 +01:00
Kolya Kosenko
d6a284783a
Fix wxGTK/Win32 CMake build
2018-02-27 23:47:27 +02:00
Vadim Zeitlin
c66c9c5ae6
Merge branch 'build_cmake' of https://github.com/TcT2k/wxWidgets
...
Add CMake-based build system.
Merge the original branch without any changes except for resolving the
conflict due to moving the contents of .travis.yml to a separate file by
propagating the changes done in this file since then to the new script
and rerunning ./build/update-setup-h and ./build/cmake/update_files.py
to update the file lists changed in the meanwhile.
Closes https://github.com/wxWidgets/wxWidgets/pull/330
2017-12-09 15:09:47 +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