-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #81 from NeurodataWithoutBorders/plugin-related-up…
…dates integration related updates
- Loading branch information
Showing
28 changed files
with
384 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
include("${CMAKE_CURRENT_LIST_DIR}/aqnwbTargets.cmake") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,71 @@ | ||
if(PROJECT_IS_TOP_LEVEL) | ||
include(CPack) | ||
set( | ||
CMAKE_INSTALL_INCLUDEDIR "include/aqnwb-${PROJECT_VERSION}" | ||
CACHE STRING "" | ||
) | ||
set_property(CACHE CMAKE_INSTALL_INCLUDEDIR PROPERTY TYPE PATH) | ||
endif() | ||
|
||
include(CMakePackageConfigHelpers) | ||
include(GNUInstallDirs) | ||
|
||
set(package aqnwb) | ||
|
||
install( | ||
DIRECTORY | ||
src/ | ||
"${PROJECT_BINARY_DIR}/export/" | ||
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}" | ||
COMPONENT aqnwb_Development | ||
) | ||
|
||
install( | ||
TARGETS aqnwb_aqnwb | ||
EXPORT aqnwbTargets | ||
RUNTIME # | ||
COMPONENT aqnwb_Runtime | ||
LIBRARY # | ||
COMPONENT aqnwb_Runtime | ||
NAMELINK_COMPONENT aqnwb_Development | ||
ARCHIVE # | ||
COMPONENT aqnwb_Development | ||
INCLUDES # | ||
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}" | ||
) | ||
|
||
write_basic_package_version_file( | ||
"${package}ConfigVersion.cmake" | ||
COMPATIBILITY SameMajorVersion | ||
) | ||
|
||
# Allow package maintainers to freely override the path for the configs | ||
set( | ||
aqnwb_INSTALL_CMAKEDIR "${CMAKE_INSTALL_LIBDIR}/cmake/${package}" | ||
CACHE STRING "CMake package config location relative to the install prefix" | ||
) | ||
set_property(CACHE aqnwb_INSTALL_CMAKEDIR PROPERTY TYPE PATH) | ||
mark_as_advanced(aqnwb_INSTALL_CMAKEDIR) | ||
|
||
install( | ||
FILES cmake/install-config.cmake | ||
DESTINATION "${aqnwb_INSTALL_CMAKEDIR}" | ||
RENAME "${package}Config.cmake" | ||
COMPONENT aqnwb_Development | ||
) | ||
|
||
install( | ||
FILES "${PROJECT_BINARY_DIR}/${package}ConfigVersion.cmake" | ||
DESTINATION "${aqnwb_INSTALL_CMAKEDIR}" | ||
COMPONENT aqnwb_Development | ||
) | ||
|
||
install( | ||
EXPORT aqnwbTargets | ||
NAMESPACE aqnwb:: | ||
DESTINATION "${aqnwb_INSTALL_CMAKEDIR}" | ||
COMPONENT aqnwb_Development | ||
) | ||
|
||
if(PROJECT_IS_TOP_LEVEL) | ||
include(CPack) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/** | ||
* @page nwb_schema_page NWB Schema | ||
* | ||
* The NWB file format is formally described by the [NWB Format Specification Schema](https://nwb-schema.readthedocs.io/en/latest/). | ||
* The data organization of NWB files and the core NWB format is described by these nwb-schema format specification documents. | ||
* | ||
* \section dev_docs_generating_nwb_schema_headers_section Generating the schema header files | ||
* | ||
* AqNWB is linked to a specific version of the nwb-schema, and the schema version is written to the `nwb_version` field of the NWB File during acquisition. | ||
* The full specification documentation for that schema version is also cached in the `specifications` group of the NWB File to facilitate compatibility with | ||
* other NWB-related software. | ||
* | ||
* The contents of the `specifications` group are defined using the header files in the `spec` subfolder, which are in turn generated from the nwb-schema documentation files. | ||
* To regenerate these header files, developers can run `resources/generate_spec_files.py`. | ||
* | ||
* \section dev_docs_updating_nwb_schema_section Updating the schema | ||
* | ||
* Currently, the version of the schema being used for development is fixed and stored in the `/resources/schema` folder. | ||
* Updating to a newer version of the schema requires: | ||
* - Regeneration of the `spec` header files via `resources/generate_spec_files.py` | ||
* - Update of existing `Container` classes and unit tests in AqNWB to match changes in the new schema compared to the previous schema | ||
* - Successful completion of all unit-test and round-trip testing with PyNWB and MatNWB | ||
* | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.