Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
guillaume pernot
otb
Commits
c1c4647c
Commit
c1c4647c
authored
Nov 10, 2015
by
Rashad Kanavath
Browse files
BUG: mantis #1080. do not include test code into the lib
parent
4990f546
Changes
1
Hide whitespace changes
Inline
Side-by-side
SuperBuild/patches/TINYXML/CMakeLists.txt
View file @
c1c4647c
...
...
@@ -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})
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment