Commit Graph

63 Commits

Author SHA1 Message Date
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
David 4633c3aa27 add biicode support 2015-03-16 10:41:00 +01:00
Lee Thomason b53aaa885d set the version to 2.3.0 2015-03-15 16:18:35 -07:00
Lee Thomason a94fc98396 Merge pull request #229 from xantares/test
Rename test, fixed cmake warning.
2014-11-15 17:55:14 -08:00
xantares 0b2c22bd46 Rename test, fixed cmake warning. 2014-11-14 19:46:18 +01:00
xantares c8ec6fcab4 Use BUILD_SHARED_LIBS cmake standard. 2014-11-14 19:40:58 +01:00
Lee Thomason 5321a0e21f setting the version to 2.2.0 2014-09-14 12:47:24 -07:00
Lee Thomason 6ee53e7d49 setting the version to 2.1.0 2014-04-06 14:43:37 -07:00
Lee Thomason b59ac45131 setting the version to 2.0.2 2014-03-16 20:18:41 -07:00
Lee Thomason 686ef404b8 improve setversion script. set version 2.0.1 2014-03-16 10:16:49 -07:00
Lee Thomason 85afe9c5c7 setting version consistent with new guidelines. (not tagging...yet). 2014-02-23 21:42:16 -08:00
Lee Thomason 5f88e72691 fix the build script. set the build properly 2014-02-21 22:57:38 -08:00
Lee Thomason 5bb2d8079b add variants of SetText() to support types 2014-01-24 10:42:57 -08:00
Lee Thomason 44ce7930b7 Merge branch 'master' of https://github.com/leethomason/tinyxml2 2014-01-14 12:30:18 -08:00
Lee Thomason c3708ccf08 implement a fix to floating point precision as proposed by schuellc. 2014-01-14 12:30:03 -08:00
Leonid Onokhov 3dacebf8ee add TINYXML2_EXPORT define when building shared lib
otherwise it exports no symbols and msvc does not create import .lib
2013-12-12 15:07:34 +03:00
Lee Thomason 5613cb9237 up the version 2013-10-26 21:52:35 -07:00
Thomas Roß 36307f86da Fixed test input file not found when doing out-of-source builds. 2013-05-11 10:21:07 +02:00
Lee Thomason (grinliz) 374c25e2a6 up the version to build 11 2013-02-01 19:45:01 -08:00
Marek Pokorny 8e66b77c91 Fixed CMake config file to properly install on windows 2013-01-28 10:52:01 -08:00
Lee Thomason 86ca9dc1ee correctly set version via script 2013-01-28 07:31:59 -08:00
Lee Thomason 998116e587 up the version 2012-11-12 13:04:56 -08:00
Lee Thomason (grinliz) fc6320e30a experimented with print f vs. g. increased version 2012-09-23 20:25:50 -07:00
Lee Thomason (grinliz) 4dbe869cd7 increase the version 2012-09-08 21:23:33 -07:00
Lee Thomason 21be882810 Moving string in/out into XMLUtil. Using that across the API. Supporting text queries of primitive types. 2012-07-15 17:27:22 -07:00
Lee Thomason 78a773ddd9 Fix attribute parsing to correctly handle white space 2012-07-02 10:10:19 -07:00
Lee Thomason (grinliz) 390e978da1 Fix infinite loop bug in ShallowEqual. Fix a warning with a re-interpret cast. Up version to 1.0.4 2012-07-01 21:22:53 -07:00