-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add acquire-zarr as a submodule (#308)
- Add acquire-zarr submodule - Make CMake options of informal definitions `NOTEST` and `WITH_EXAMPLES` - Conditionally include directories based on option values - Move src/driver/* to src/ - Move tests/driver/* to tests/ - Remove all streaming code
- Loading branch information
Showing
107 changed files
with
141 additions
and
11,255 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
[submodule "acquire-common"] | ||
path = acquire-common | ||
url = ../acquire-common.git | ||
[submodule "acquire-zarr"] | ||
path = acquire-zarr | ||
url = ../acquire-zarr.git |
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
Submodule acquire-zarr
added at
b20559
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,6 +1,41 @@ | ||
add_subdirectory(logger) | ||
add_subdirectory(streaming) | ||
if (NOT TARGET acquire-core-logger) | ||
set(NOTEST ON) | ||
add_subdirectory(${CMAKE_SOURCE_DIR}/acquire-common/acquire-core-libs ${CMAKE_CURRENT_BINARY_DIR}/acquire-core-libs) | ||
endif () | ||
|
||
if (BUILD_ACQUIRE_DRIVER_ZARR) | ||
add_subdirectory(driver) | ||
if (NOT TARGET acquire-zarr) | ||
set(BUILD_TESTING_TMP ${BUILD_TESTING}) | ||
set(BUILD_TESTING OFF) | ||
add_subdirectory(${CMAKE_SOURCE_DIR}/acquire-zarr ${CMAKE_CURRENT_BINARY_DIR}/acquire-zarr) | ||
set(BUILD_TESTING ${BUILD_TESTING_TMP}) | ||
endif () | ||
|
||
set(tgt acquire-driver-zarr) | ||
add_library(${tgt} MODULE | ||
zarr.storage.hh | ||
zarr.storage.cpp | ||
zarr.driver.c | ||
) | ||
|
||
target_include_directories(${tgt} PRIVATE | ||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}> | ||
) | ||
|
||
target_enable_simd(${tgt}) | ||
target_link_libraries(${tgt} PRIVATE | ||
acquire-core-logger | ||
acquire-core-platform | ||
acquire-device-kit | ||
acquire-device-properties | ||
acquire-logger | ||
acquire-zarr | ||
blosc_static | ||
nlohmann_json::nlohmann_json | ||
miniocpp::miniocpp | ||
) | ||
|
||
set_target_properties(${tgt} PROPERTIES | ||
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>" | ||
) | ||
|
||
install(TARGETS ${tgt} LIBRARY DESTINATION lib) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.