CMakeLists.txt 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. add_executable(simple_example
  2. simple_example.cc)
  3. target_link_libraries(simple_example
  4. ${ROCKSDB_LIB})
  5. add_executable(column_families_example
  6. column_families_example.cc)
  7. target_link_libraries(column_families_example
  8. ${ROCKSDB_LIB})
  9. add_executable(compact_files_example
  10. compact_files_example.cc)
  11. target_link_libraries(compact_files_example
  12. ${ROCKSDB_LIB})
  13. add_executable(c_simple_example
  14. c_simple_example.c)
  15. target_link_libraries(c_simple_example
  16. ${ROCKSDB_LIB})
  17. add_executable(optimistic_transaction_example
  18. optimistic_transaction_example.cc)
  19. target_link_libraries(optimistic_transaction_example
  20. ${ROCKSDB_LIB})
  21. add_executable(transaction_example
  22. transaction_example.cc)
  23. target_link_libraries(transaction_example
  24. ${ROCKSDB_LIB})
  25. add_executable(compaction_filter_example
  26. compaction_filter_example.cc)
  27. target_link_libraries(compaction_filter_example
  28. ${ROCKSDB_LIB})
  29. add_executable(options_file_example
  30. options_file_example.cc)
  31. target_link_libraries(options_file_example
  32. ${ROCKSDB_LIB})
  33. add_executable(multi_processes_example
  34. EXCLUDE_FROM_ALL
  35. multi_processes_example.cc)
  36. target_link_libraries(multi_processes_example
  37. ${ROCKSDB_LIB})