Skip to content
Snippets Groups Projects
Commit 8582353a authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

BUG: mantis #1080. do not include test code into the lib

parent 317975dd
No related branches found
No related tags found
No related merge requests found
......@@ -7,18 +7,26 @@ if(MSVC)
set(BUILD_SHARED_LIBS OFF) #force off
endif()
file(GLOB tinyXMLlib_SRCS "*.cpp")
file(GLOB tinyXMLlib_HDRS "*.h")
set(tinyXMLlib_SRCS
tinystr.cpp
tinyxml.cpp
tinyxmlerror.cpp
tinyxmlparser.cpp)
set(tinyXMLlib_HDRS
tinystr.h
tinyxml.h)
add_library(tinyxml ${tinyXMLlib_SRCS})
install(TARGETS tinyxml
RUNTIME DESTINATION bin COMPONENT RuntimeLibraries
LIBRARY DESTINATION lib COMPONENT RuntimeLibraries
ARCHIVE DESTINATION lib COMPONENT Development)
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib)
install(FILES ${tinyXMLlib_HDRS}
DESTINATION include
COMPONENT Development)
DESTINATION include)
#set(TINYXML_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment