Skip to content

Commit

Permalink
Update tinyxml2 to 6.0.0 and fix instructions.
Browse files Browse the repository at this point in the history
  • Loading branch information
nuclearsandwich committed Jun 12, 2018
1 parent 4a7c27a commit 7dd3629
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions package/tinyxml2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ tutorial application which requires it.

To build the package, follow these steps.

You need Git, Visual Studio 2015 Command line tools, CMake, Chocolatey, and a text editor.
You need Git, Visual Studio 2017 Command line tools, CMake, Chocolatey, and a text editor.

- Clone or download https://github.com/leethomason/tinxml2
- Create a CMake build directory and run `cmake -G "Visual Studio 14 2015 Win64" PATH_TO_TINYXML_VENDOR`.
- Clone or download https://github.com/leethomason/tinyxml2
- Create a CMake build directory and run `cmake -G "Visual Studio 15 2017 Win64" PATH_TO_TINYXML_VENDOR`.
- Run `msbuild ALL_BUILD.sln /p:Configuration=Release`
- Copy the tinyxml.lib file to the package lib/ directory.
- Copy the tinyxml2.lib and tinyxml2.dll files to the package lib/ directory.
- Run `msbuild ALL_BUILD.sln /p:Configuration=Debug`
- Rename the tinyxml.lib file to tinyxmld.lib and copy it to the package lib/ directory.
- Find the debug symbols (a .pdb file) in the build directory. I have to use File Explorer's search to find it.
- Copy tinyxml2d.lib and tinyxml2d.dll to the package lib/ directory.
- Find the debug symbols (a .pdb file) in the build directory and copy it to the package lib/ directory. I have to use File Explorer's search to find it.
- Copy *.h from the tinyxml source directory to the package include/ directory.
- Verify the information in the package share/cmake/ directory and nuspec.
- Run `choco pack`.
- Test the package and if it's good upload it somewhere your end users can reach it.
- Test the package and if it's good upload it somewhere your end users can reach it.
2 changes: 1 addition & 1 deletion package/tinyxml2/tinyxml2.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ This is a nuspec. It mostly adheres to https://docs.nuget.org/create/Nuspec-Refe
<!-- version should MATCH as closely as possible with the underlying software -->
<!-- Is the version a prerelease of a version? https://docs.nuget.org/create/versioning#creating-prerelease-packages -->
<!-- Note that unstable versions like 0.0.1 can be considered a released version, but it's possible that one can release a 0.0.1-beta before you release a 0.0.1 version. If the version number is final, that is considered a released version and not a prerelease. -->
<version>4.0.1</version>
<version>6.0.0</version>
<packageSourceUrl>https://github.com/ros2/choco-packages/tree/latest/package/tinyxml2</packageSourceUrl>
<owners>Steven! Ragnarök</owners>
<!-- ============================== -->
Expand Down

0 comments on commit 7dd3629

Please sign in to comment.