From bb89f6e0a2c8c6ca7c115f0aea3c1fe33b0b7460 Mon Sep 17 00:00:00 2001 From: Michael Valladolid Date: Thu, 21 Sep 2023 18:41:20 +0900 Subject: [PATCH] README and minor changes in CMakeLists --- CMakeLists.txt | 2 +- LruCacheTest.cpp | 2 +- README.md | 7 +++++++ 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 README.md diff --git a/CMakeLists.txt b/CMakeLists.txt index df45797..eb31fd2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.14) -project(my_project) +project(cache_lite_cppproject) # GoogleTest requires at least C++14 set(CMAKE_CXX_STANDARD 14) diff --git a/LruCacheTest.cpp b/LruCacheTest.cpp index 1780a7c..5edd648 100644 --- a/LruCacheTest.cpp +++ b/LruCacheTest.cpp @@ -66,4 +66,4 @@ TEST(LruCache, test_set_with_invalidation_existing_key) catch (invalid_argument const &err) { EXPECT_EQ(err.what(), string("Unknown key!")); } -} \ No newline at end of file +} diff --git a/README.md b/README.md new file mode 100644 index 0000000..054f26e --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +# Cache-Lite-Cpp + +This is a C++ port of [Cache-Lite](https://github.com/kezhenxu94/cache-lite) library. + +## Background + +This code is for educational purposes only and it is not available to use it in production environment. I wrote the C++ implementation of Cache-Lite inorder for me to brush up my C++ skills.