Lionel Untereiner
d39b13bbb7
Add COMPONENT support at cmake install stage
...
It enables a per component install / packaging with cmake / cpack (but not mandatory)
2019-07-24 12:56:51 +02:00
Aaron Yong
f5641e5470
CMakeList.txt: fix wrong version
...
Using find_package() with version argument, CMake return wrong version error. This commit resolves this.
2019-01-15 10:52:59 +08:00
Lee Thomason
de6d164822
fix export issue and cmake. version to 7.0.1
2018-11-17 19:53:46 -08:00
Lee Thomason
397f22581b
setting the version to 7.0.0
2018-11-06 09:37:43 -08:00
Lee Thomason
b894947c94
Merge pull request #714 from Masadow/pic
...
Add support for position independant code compilation
2018-11-06 09:08:35 -08:00
Masadow
4be5bc8059
Add support for position independant code compilation
2018-10-09 14:57:44 +02:00
Jacob Schloss
ade41cdfe9
Make resources folder for xml test relative to current source and binary directory
2018-09-20 13:27:40 -07:00
orbitcowboy
22b21ec9bc
Fixed typos in comments. There are no functional changes intended.
2018-07-17 11:52:57 +02:00
Lee Thomason
9f14aca07f
Merge pull request #645 from jasjuang/master
...
fix sidenote on issue #588
2018-06-29 15:48:03 -07:00
Lukas Solanka
1b029f2bdd
add target_compile_definitions
2018-06-25 23:01:22 +01:00
Lukas Solanka
392ec18324
use configure_package_config_file()
2018-06-25 23:01:22 +01:00
Lukas Solanka
b7c169ccbc
Replace absolute installation paths with relative
2018-06-25 23:01:22 +01:00
John Butterfield
d89d6d9551
Updated CMakeLists.txt for relocatable installs
...
Forcing CMAKE_INSTALL_LIBDIR and CMAKE_INSTALL_INCLUDEDIR to be absolute is unnecessary and results in absolute paths in the installation. This prevents relocatable prefix installations.
2018-06-20 18:58:09 -07:00
John Butterfield
b54cf3cb45
Made CMakeLists.txt installation relocatable.
...
The installation interface should really be a relative path.
2018-06-20 18:52:24 -07:00
Lee Thomason
c1424ee4e1
setting the version to 6.2.0
2018-04-05 23:09:23 -07:00
jasjuang
ecbc16ae48
add namespace for cmake export
2018-03-23 09:52:19 -07:00
mschmieder
3c9370561c
fixed issue where CTest is executed in the wrong directory
2018-03-08 08:31:12 +01:00
François Cami
59785ec384
fix installation path for *.cmake
2018-01-22 23:58:42 +01:00
Peter Matula
50689919b7
rename DEBUG define to TINYXML2_DEBUG
...
The original name is to general. This prevents possible name collisions with other defines, enums, etc. from projects where tinyxml2 is used.
2018-01-09 12:52:26 +01:00
Lee Thomason
f26a547fdc
sync the version
2017-12-29 09:30:39 -08:00
Lee Thomason
8c8293ba89
setting the version to 6.0.0
2017-12-10 19:55:35 -08:00
Lee Thomason
37bc3aca42
upping the version to 5.0.1 to fix release vs. source problem
2017-06-26 16:56:16 -07:00
Lee Thomason
563ee82093
Merge pull request #571 from hyperair/cmake-add-test
...
Use CTest to add xmltest as a testcase so `make test` works
2017-06-26 16:40:06 -07:00
Chow Loong Jin
5381145957
Use CTest to add xmltest as a testcase so make test works
2017-06-22 01:14:07 +08:00
jasjuang
a5ab98a582
fix issue #516
2017-06-20 17:25:42 -07:00
Robert J
dfcf5488ea
CMake fix for static library only build
2017-06-20 13:41:17 +02:00
jasjuang
f66441e3e7
add in support for cmake export, manual Findtinyxml2.cmake is no longer needed
2017-06-01 17:25:30 -07:00
Lee Thomason
7538286750
Merge pull request #535 from jnguyen75/build-tests-option
...
Added BUILD_TESTS option to enable/disable xmltest
2017-05-18 20:57:41 -07:00
Jimmy Nguyen
105f32f64d
Merge remote-tracking branch 'origin/master' into build-tests-option
2017-05-11 16:19:30 -07:00
Brad Anderson
9333cfd394
Add "d" library suffix for debug builds
2017-05-04 12:25:56 -06:00
Lee Thomason
7b40ce1942
Merge pull request #534 from jnguyen75/ref-test-resources
...
Refactor test resources: Use CMake to replace mkdir()
2017-04-28 11:21:39 -07:00
Jimmy Nguyen
1e0b4e6b8a
Use generator expression to specify target output directory for resources directory
2017-02-21 12:31:23 -08:00
Jimmy Nguyen
6bf64fb149
Use CMake to create resources/out directory
2017-02-21 12:00:38 -08:00
Jimmy Nguyen
47c7d70064
Added BUILD_TESTS option to enable/disable building of xmltest
2017-02-21 11:29:24 -08:00
Jimmy Nguyen
969b8c2234
Replaced DATA_COPY target with post build command to copy the resources directory
2017-02-13 23:40:16 -08:00
Jimmy Nguyen
5277134efa
Removed empty install() command
2017-02-13 23:24:38 -08:00
Winestone
4a07484e47
Fix typo in CMakeLists.txt
2017-02-11 23:04:14 +11:00
Łukasz Kuryło
aad61870a9
Fix cmake warnings on new cmake versions.
2016-09-29 18:59:07 +02:00
Matthew Woehlke
8170bdc693
Build with hidden symbols by default
...
Turn on options to tell CMake to use -fvisibility=hidden by default (on
applicable platforms). This has some optimization benefits, and more
closely mirrors the Windows behavior of only exporting symbols marked
for export, which can help catch errors doing so on non-Windows
platforms.
This requires CMake 2.8.12 to be effective. (Otherwise, the logic will
simply have no effect.)
2016-08-09 13:21:06 -04:00
Lee Thomason
74d44acb17
fix compile issues on clang
2016-07-17 22:57:36 -07:00
Lee Thomason
6ba2a077ed
upping the major version. lots of small (incompatible) changes, and the addition of int64 support.
2016-07-17 22:40:43 -07:00
Lukasz Kurylo
2818e67f31
Add INCLUDE_DIRECTORIES on the targets for supported cmake versions.
2016-06-22 19:22:57 +02:00
Jun Jie
47f9931130
minimize file copying on incremental builds
2016-04-22 13:37:44 +08:00
Darksun
6bf8a07587
space misses in the comment of CMakeLists.txt
2016-02-16 16:10:57 +08:00
Lee Thomason
27eb078329
Merge pull request #372 from jasjuang/master
...
add in support for sudo make uninstall
2015-09-24 10:23:04 -07:00
renu555
871d72f3a8
Build tinyxml2 as static library
...
By Default shared libs are built
To build static library also configure cmake with -DBUILD_STATIC_LIBS:BOOL=ON
To build only static library configure cmake with -DBILD_SHARED_LIBS:BOOL=OFF -DBUILD_STATIC_LIBS:BOOL=ON
2015-09-18 13:39:51 +05:30
jasjuang
f6002e6a99
add in support for sudo make uninstall
2015-08-15 16:50:55 -07:00
Sarat Addepalli
39a77dd825
Define the DEBUG macro in CMakeLists.txt
...
Fixes #334
2015-05-19 12:27:59 +05:30
Lee Thomason
32cca51ac5
Merge pull request #300 from davidsanfal/master
...
Add biicode support to TinyXML-2
2015-03-20 21:29:37 -07:00
Lee Thomason
1977a7258c
setting the version to 3.0.0
2015-03-17 21:30:01 -07:00