C++ Library to handle BagIt structures. BagIt is a standard format to create transfer packages for digital preservation purposes. See https://en.wikipedia.org/wiki/BagIt for details http://andreas-romeyke.de
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines

  1. cmake_minimum_required (VERSION 2.6)
  2. project (libcbag)
  3. # add default CFLAGS
  4. set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fstack-protector-strong -Wformat -Werror=format-security")
  6. add_subdirectory(src)
  7. # TESTS
  8. add_subdirectory(test)
  9. enable_testing()
  10. add_test(NAME TestPayload COMMAND TestPayload)
  11. add_test(NAME TestPayloadManifest COMMAND TestPayloadManifest)
  12. add_test(NAME TestTagManifest COMMAND TestTagManifest)
  13. add_test(NAME TestBagMetadata COMMAND TestBagMetadata)
  14. add_test(NAME TestFetchFile COMMAND TestFetchFile)
  15. add_test(NAME TestBag COMMAND TestBag)