Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Podhorszki, Norbert
ADIOS2
Commits
040a0993
Commit
040a0993
authored
Jun 27, 2017
by
Atkins, Charles Vernon
Browse files
Fixup interface libraries for JSON and XML libs.
parent
7ceaa52a
Changes
4
Hide whitespace changes
Inline
Side-by-side
thirdparty/NLohmannJson/CMakeLists.txt
View file @
040a0993
add_library
(
NLohmann::Json INTERFACE IMPORTED GLOBAL
)
set_target_properties
(
NLohmann::Json PROPERTIES
INTERFACE_INCLUDE_DIRECTORIES
${
CMAKE_CURRENT_SOURCE_DIR
}
/json/src
)
add_subdirectory
(
json
)
thirdparty/NLohmannJson/json/CMakeLists.txt
0 → 100644
View file @
040a0993
add_library
(
NLohmannJson INTERFACE
)
target_include_directories
(
NLohmannJson INTERFACE
$<BUILD_INTERFACE:
${
CMAKE_CURRENT_SOURCE_DIR
}
/src>
)
install
(
TARGETS NLohmannJson EXPORT adios2Exports
)
thirdparty/pugixml/CMakeLists.txt
View file @
040a0993
# This is an extremely simple and tiny library. Rather than build it
# seperately we'll just create an interface library containing the sources and
# headers
add_library
(
pugixml INTERFACE
)
target_sources
(
pugixml INTERFACE
${
CMAKE_CURRENT_SOURCE_DIR
}
/pugixml/src/pugiconfig.hpp
${
CMAKE_CURRENT_SOURCE_DIR
}
/pugixml/src/pugixml.hpp
${
CMAKE_CURRENT_SOURCE_DIR
}
/pugixml/src/pugixml.cpp
)
target_include_directories
(
pugixml INTERFACE
${
CMAKE_CURRENT_SOURCE_DIR
}
/pugixml/src
)
add_subdirectory
(
pugixml
)
thirdparty/pugixml/pugixml/CMakeLists.txt
0 → 100644
View file @
040a0993
add_library
(
pugixml INTERFACE
)
target_sources
(
pugixml INTERFACE
$<BUILD_INTERFACE:
${
CMAKE_CURRENT_SOURCE_DIR
}
/src/pugiconfig.hpp>
$<BUILD_INTERFACE:
${
CMAKE_CURRENT_SOURCE_DIR
}
/src/pugixml.hpp>
$<BUILD_INTERFACE:
${
CMAKE_CURRENT_SOURCE_DIR
}
/src/pugixml.cpp>
)
target_include_directories
(
pugixml INTERFACE
$<BUILD_INTERFACE:
${
CMAKE_CURRENT_SOURCE_DIR
}
/src>
)
install
(
TARGETS pugixml EXPORT adios2Exports
)
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