summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
AgeCommit message (Collapse)Author
2018-04-27Move CMake build postfix setup behind an off-by-default USE_POSTFIXArseny Kapoulkine
This setup can interfere with existing workflows in two ways: - If the target application used CMake and configured custom postfixes, this change would override them - If the target application did *not* use CMake, it'd have to abide by these conventions even if the target configuration used is unexpected - for example, the default "preferred" configuration is frequently RelWithDebugInfo, not Release, which now has a postfix. Fixes #198.
2018-04-11Suffixes for different build types (#191)Alexander Straub
2018-04-09cmake: always install the pkg-config file (#193)Eli Schwartz
There's really never a reason to *not* want this installed. If an option is needed to specify installing in a versioned subdirectory, this option should be explicitly described rather than hidden in something else. As an added bonus, this makes the CMake install code slightly *less* complicated.
2018-04-02Update version to 1.9Arseny Kapoulkine
2018-01-29cmake: keep sources and headers separateBen Boeckel
2018-01-29cmake: set the minimum version before the project callBen Boeckel
2017-11-12CMake: Add __declspec(dllexport) for shared library buildsArseny Kapoulkine
This makes sure that MSVC shared library build actually exports all the needed symbols and generates import table. Somehow, this is actually enough to make pugixml link as a DLL - there's no need to specify __declspec(dllimport) even though pugixml exports classes via DLL. Fixes #113.
2017-06-14Increase the minimum CMake version to 2.8.12Arseny Kapoulkine
This is a followup to 198900eff403982f080958459f1ccb45cdefe9a4. target_include_directories was introduced in 2.8.12, thus CMake 2.6 no longer works.
2017-01-17Added target_include_directories() to properly export include directories (#130)Daniel Knibbe
Fixes #126
2016-11-09Update version to 1.8 everywhereArseny Kapoulkine
2016-09-20CMake: Simplify install path logicArseny Kapoulkine
Select correct suffix to use for pkg-config
2016-09-20CMake: Simplify pkg-config supportArseny Kapoulkine
Merge USEOWNSUBDIR and PKGCONFIG build flags; move the pkg-config source file to scripts/.
2016-09-13Adding options PKGCONFIG build optionspeterbud
2016-09-12Adding PKG-CONFIG supportpeterbud
Also creating a separate install directory under INCLUDE and LIB directories
2016-06-18Only enable cxx_long_long_type if it is in the list of featuresArseny Kapoulkine
Fixes #99.
2016-02-25Change paths according to new CMakeLists.txt location.Jippe Holwerda
2016-02-25Put CMakeLists.txt in the project root.Jippe Holwerda
Having CMakeLists.txt in the project root makes it so much easier to use pugixml as an external dependency in another CMake project.