mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
Meta: Remove old CLion-specific files
This is not needed anymore, and likely outdated anyway.
This commit is contained in:
parent
6e2a29d038
commit
e93a147f26
Notes:
sideshowbarker
2024-07-18 21:30:39 +09:00
Author: https://github.com/linusg Commit: https://github.com/SerenityOS/serenity/commit/e93a147f264 Pull-request: https://github.com/SerenityOS/serenity/pull/5737
2 changed files with 0 additions and 87 deletions
|
@ -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})
|
|
@ -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" "$@"
|
Loading…
Reference in a new issue