From 03b9f6b7f819036c02d4bc8e4b931fbb79ea32cf Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 25 Jul 2019 14:33:20 +0200 Subject: [PATCH] Lagom: Simplify the CMakeLists.txt a bit. Now that everything in AK is buildable, we can just build all of it. :^) --- Lagom/CMakeLists.txt | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/Lagom/CMakeLists.txt b/Lagom/CMakeLists.txt index 4035bce5af..3bc26cbf32 100644 --- a/Lagom/CMakeLists.txt +++ b/Lagom/CMakeLists.txt @@ -6,19 +6,10 @@ set(CMAKE_CXX_FLAGS "-O2 -Wall -Wextra -Wconsumed -Werror -std=c++17") project (Lagom) -file(GLOB SOURCES "../Libraries/LibCore/*.cpp") +file(GLOB AK_SOURCES "../AK/*.cpp") +file(GLOB LIBCORE_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 -) +set(SOURCES ${AK_SOURCES} ${LIBCORE_SOURCES}) include_directories (../) include_directories (../Libraries/)