diff --git a/Lagom/.gitignore b/Lagom/.gitignore new file mode 100644 index 00000000000..ec121a9996b --- /dev/null +++ b/Lagom/.gitignore @@ -0,0 +1,4 @@ +CMakeCache.txt +CMakeFiles +Makefile +cmake_install.cmake diff --git a/Lagom/CMakeLists.txt b/Lagom/CMakeLists.txt new file mode 100644 index 00000000000..d1c7c9b5aa7 --- /dev/null +++ b/Lagom/CMakeLists.txt @@ -0,0 +1,26 @@ +cmake_minimum_required (VERSION 2.6) + +set(CMAKE_C_COMPILER clang) +set(CMAKE_CXX_COMPILER clang) +set(CMAKE_CXX_FLAGS "-O2 -Wall -Wextra -Wconsumed -Werror -std=c++17") + +project (Lagom) + +file(GLOB SOURCES "../Libraries/LibCore/*.cpp") + +set(SOURCES ${SOURCES} + ../AK/StringImpl.cpp + ../AK/String.cpp + ../AK/JsonArray.cpp + ../AK/JsonValue.cpp + ../AK/JsonObject.cpp + ../AK/JsonParser.cpp + ../AK/StringBuilder.cpp + ../AK/StringView.cpp + ../AK/LogStream.cpp +) + +include_directories (../) +include_directories (../Libraries/) +add_library(lagom SHARED ${SOURCES}) + diff --git a/Lagom/ReadMe.md b/Lagom/ReadMe.md new file mode 100644 index 00000000000..7af0c974b93 --- /dev/null +++ b/Lagom/ReadMe.md @@ -0,0 +1,9 @@ +# Lagom + +The Serenity C++ library, for other Operating Systems. + +## About + +If you want to bring the comfortable Serenity classes with you to another system, look no further. This is basically a "port" of the `AK` and `LibCore` libraries to generic \*nix systems. + +*Lagom* is a Swedish word that means "just the right amount." ([Wikipedia](https://en.wikipedia.org/wiki/Lagom))