cppcheck/externals/tinyxml/CMakeLists.txt

14 lines
435 B
CMake
Raw Normal View History

2015-02-13 19:00:14 +01:00
file(GLOB hdrs "*.h")
file(GLOB srcs "*.cpp")
add_library(tinyxml ${srcs} ${hdrs})
install(TARGETS tinyxml
RUNTIME DESTINATION bin COMPONENT libraries
LIBRARY DESTINATION lib PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE COMPONENT libraries
ARCHIVE DESTINATION lib COMPONENT libraries)
install(FILES ${hdrs}
DESTINATION include/${PROJECT_NAME}/
COMPONENT headers)