Maarten Bent
13d0e0a152
Fix linking with libcurl under MSW when using CMake
...
Enable CMP0060 policy to use full path for the library.
2020-12-26 15:56:56 +01:00
Maarten Bent
a9f1655c9c
CMake: set policy for VERSION variables
...
Also update the description of other policies to the description on the CMake
website.
2020-05-24 22:20:05 +02:00
Maarten Bent
0c2d05f52f
CMake: add library aliases using wx:: namespace
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
60b0a1fde2
CMake: Fix MSVC warning when using NMake
...
Fix warning: Command line warning D9025 : overriding '/W3' with '/W4'
Remove /W3, either via a regex or via new policy CMP0092 (CMake 3.15).
The policy has to be set before calling project(), otherwise the
CMAKE_<LANG>_FLAGS are already initialized.
See https://trac.wxwidgets.org/ticket/18438
2019-07-19 01:09:36 +02:00
Maarten Bent
5282f92f8f
CMake: Silence OpenGL policy warning
2018-12-02 17:45:34 +01:00
Vadim Zeitlin
746bbd08cc
Use C++11 for tests during CMake configuration if necessary
...
Enable CMake policy CMP0067 to ensure that the tests are done using the
same C++ dialect that is actually used for compiling the library.
2018-01-24 16:25:28 +01:00
Vadim Zeitlin
9567adb8cc
Order policies by their numbers in CMake policies file
...
Just make it easier to maintain this file by enabling all policies in
order of their numbers.
No real changes.
2018-01-24 16:25:18 +01:00
Vadim Zeitlin
9f91756108
Remove hard TABs from CMake policies file
...
No real changes, just use spaces for indentation as everywhere else.
2018-01-24 16:23:45 +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