summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-03-11 18:50:51 +0100
committerAndreas Kling <kling@serenityos.org>2021-03-11 21:01:29 +0100
commite93a147f264de24873edea22b513742085db4eb0 (patch)
treef2554cde1f8f3299a7b663c4f98fa2b5735c9fcd
parent6e2a29d038829ab3e7f9cc22f43d896a14c42e33 (diff)
downloadserenity-e93a147f264de24873edea22b513742085db4eb0.zip
Meta: Remove old CLion-specific files
This is not needed anymore, and likely outdated anyway.
-rw-r--r--Meta/CLion/CMakeLists.txt53
-rwxr-xr-xMeta/CLion/run.sh34
2 files changed, 0 insertions, 87 deletions
diff --git a/Meta/CLion/CMakeLists.txt b/Meta/CLion/CMakeLists.txt
deleted file mode 100644
index e4f9918821..0000000000
--- a/Meta/CLion/CMakeLists.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-cmake_minimum_required(VERSION 3.0)
-project(serenity)
-set(CMAKE_CXX_STANDARD 20)
-
-set(SERENITY_ARCH "i686" CACHE STRING "Target architecture for SerenityOS.")
-
-file(GLOB_RECURSE AK_SOURCES "serenity/AK/*.cpp")
-file(GLOB_RECURSE APPLICATIONS_SOURCES "serenity/Userland/Applications/*.cpp")
-file(GLOB_RECURSE BASE_SOURCES "serenity/Base/*.cpp")
-file(GLOB_RECURSE DEMOS_SOURCES "serenity/Userland/Demos/*.cpp")
-file(GLOB_RECURSE DEVTOOLS_SOURCES "serenity/Userland/DevTools/*.cpp")
-file(GLOB_RECURSE GAMES_SOURCES "serenity/Userland/Games/*.cpp")
-file(GLOB_RECURSE KERNEL_SOURCES "serenity/Kernel/*.cpp")
-file(GLOB_RECURSE LIBRARIES_SOURCES "serenity/Userland/Libraries/*.cpp")
-file(GLOB_RECURSE MENU_APPLETS_SOURCES "serenity/Userland/MenuApplets/*.cpp")
-file(GLOB_RECURSE PORTS_SOURCES "serenity/Ports/*.cpp")
-file(GLOB_RECURSE SERVICES_SOURCES "serenity/Userland/Services/*.cpp")
-file(GLOB_RECURSE SHELL_SOURCES "serenity/Userland/Shell/*.cpp")
-file(GLOB_RECURSE TESTS_SOURCES "serenity/Userland/Tests/*.cpp")
-file(GLOB_RECURSE TOOLCHAIN_SOURCES "serenity/Toolchain/*.cpp")
-file(GLOB_RECURSE USERLAND_SOURCES "serenity/Userland/*.cpp")
-
-set(INCLUDE_DIRS
- "serenity"
- "serenity/Kernel"
- "serenity/Userland/Libraries"
- "serenity/Userland/Libraries/LibC"
- "serenity/Userland/Libraries/LibPthread"
- "serenity/Userland/Libraries/LibM"
- "serenity/Userland/Services"
- "serenity/Toolchain/Local/${SERENITY_ARCH}/${SERENITY_ARCH}-pc-serenity/include/c++/10.2.0"
- "serenity/Build/Services"
- "serenity/Build/Libraries")
-
-add_library(serenity
- ${AK_SOURCES}
- ${APPLICATIONS_SOURCES}
- ${BASE_SOURCES}
- ${DEMOS_SOURCES}
- ${DEVTOOLS_SOURCES}
- ${GAMES_SOURCES}
- ${KERNEL_SOURCES}
- ${LIBRARIES_SOURCES}
- ${MENU_APPLETS_SOURCES}
- ${PORTS_SOURCES}
- ${SERVICES_SOURCES}
- ${SHELL_SOURCES}
- ${TESTS_SOURCES}
- ${TOOLCHAIN_SOURCES}
- ${USERLAND_SOURCES})
-
-target_compile_definitions(serenity PRIVATE __serenity__ USERLAND SANITIZE_PTRS DEBUG)
-target_include_directories(serenity PRIVATE ${INCLUDE_DIRS})
diff --git a/Meta/CLion/run.sh b/Meta/CLion/run.sh
deleted file mode 100755
index 394ab5ff8d..0000000000
--- a/Meta/CLion/run.sh
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/sh
-
-set -e
-
-: "${SERENITY_RAM_SIZE:='256M'}"
-export SERENITY_RAM_SIZE
-
-# set SERENITY_ROOT to the path to the serenity directory
-: "${SERENITY_ROOT:='/mnt/c/Users/Ragnarok/serenity-project/serenity'}"
-: "${SERENITY_BUILD:="$SERENITY_ROOT/Build"}"
-export SERENITY_ROOT SERENITY_BUILD
-
-cd -P -- "$SERENITY_BUILD" || exit
-make install
-make image
-
-# set this to point to qemu installation on windows
-export SERENITY_QEMU_BIN='/mnt/c/Program Files/qemu/qemu-system-i386.exe'
-
-export SERENITY_COMMON_QEMU_ARGS="
-$SERENITY_EXTRA_QEMU_ARGS
--s -m $SERENITY_RAM_SIZE
--cpu max
--d cpu_reset,guest_errors
--smp 2
--device VGA,vgamem_mb=64
--hda _disk_image
--device ich9-ahci
--debugcon stdio
--soundhw pcspk
--soundhw sb16
-"
-
-"$SERENITY_ROOT/Meta/run.sh" "$@"