Skip to content

Instantly share code, notes, and snippets.

@TNick
Created December 14, 2013 15:08
Show Gist options
  • Save TNick/7960323 to your computer and use it in GitHub Desktop.
Save TNick/7960323 to your computer and use it in GitHub Desktop.
Cmake file for TInyXML
cmake_minimum_required(VERSION 2.8)
project(tinyxml)
include_directories(
"${PROJECT_SOURCE_DIR}"
)
add_library (tinyxml
tinystr.cpp
tinyxml.cpp
tinyxmlerror.cpp
tinyxmlparser.cpp
)
install( TARGETS tinyxml
RUNTIME DESTINATION bin
ARCHIVE DESTINATION lib
LIBRARY DESTINATION lib
FRAMEWORK DESTINATION "Library/Frameworks"
PUBLIC_HEADER DESTINATION include)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment