Arseny Kapoulkine
6016e2180e
CMake: Add __declspec(dllexport) for shared library builds
...
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-11-12 20:21:46 -08:00
Arseny Kapoulkine
52da6f71d0
Increase the minimum CMake version to 2.8.12
...
This is a followup to 198900eff403982f080958459f1ccb45cdefe9a4.
target_include_directories was introduced in 2.8.12, thus CMake 2.6 no
longer works.
2017-06-14 23:06:32 -07:00
Daniel Knibbe
198900eff4
Added target_include_directories() to properly export include directories ( #130 )
...
Fixes #126
2017-01-17 09:30:01 -08:00
Arseny Kapoulkine
c75e3c45e5
Update version to 1.8 everywhere
2016-11-09 09:02:44 -08:00
Arseny Kapoulkine
2933a03d09
CMake: Simplify install path logic
...
Select correct suffix to use for pkg-config
2016-09-20 22:16:47 -07:00
Arseny Kapoulkine
fd896d2476
CMake: Simplify pkg-config support
...
Merge USEOWNSUBDIR and PKGCONFIG build flags; move the pkg-config source file
to scripts/.
2016-09-20 22:11:42 -07:00
peterbud
0918dd2b99
Adding options PKGCONFIG build options
2016-09-13 21:03:11 +02:00
peterbud
6d69483bbc
Adding PKG-CONFIG support
...
Also creating a separate install directory under INCLUDE and LIB directories
2016-09-12 21:44:20 +02:00
Arseny Kapoulkine
4dbb564619
Only enable cxx_long_long_type if it is in the list of features
...
Fixes #99 .
2016-06-18 01:51:28 -07:00
Jippe Holwerda
4469a32970
Change paths according to new CMakeLists.txt location.
2016-02-25 20:38:07 +01:00
Jippe Holwerda
806c75652a
Put CMakeLists.txt in the project root.
...
Having CMakeLists.txt in the project root makes it so much easier to use pugixml
as an external dependency in another CMake project.
2016-02-25 19:30:03 +01:00