Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Gaëlle USSEGLIO
otb
Commits
c1c4647c
Commit
c1c4647c
authored
Nov 10, 2015
by
Rashad Kanavath
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG: mantis #1080. do not include test code into the lib
parent
4990f546
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
7 deletions
+15
-7
SuperBuild/patches/TINYXML/CMakeLists.txt
SuperBuild/patches/TINYXML/CMakeLists.txt
+15
-7
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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