Created
October 28, 2018 15:01
-
-
Save traversaro/c27938365ca06f0f95facc887275a42e to your computer and use it in GitHub Desktop.
TinyXML build example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.5) | |
find_package(cmake_modules REQUIRED) | |
find_package(TinyXML REQUIRED) | |
add_executable(tinyxml_test tinyxml_test.cpp) | |
target_include_directories(tinyxml_test PRIVATE ${TinyXML_INCLUDE_DIRS}) | |
target_link_libraries(tinyxml_test PRIVATE ${TinyXML_LIBRARIES}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <tinyxml.h> | |
#include <string> | |
int main() | |
{ | |
TiXmlDocument dummy1; | |
std::string dummy2; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment