summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruint <abhinav.prsai@gmail.com>2025-12-18 22:24:04 +0000
committeruint <abhinav.prsai@gmail.com>2025-12-18 22:24:04 +0000
commit61d1dc72b24e8b68fb6630fd6c0eda8ca4dde38a (patch)
tree9e88ed43566fb831ef20ea0acaa4aa50f323c19f
parentc48149eb63256775977c755ef52db8679a318cb8 (diff)
rename binary to quartz.bin, update Makefile
-rw-r--r--.gitignore2
-rw-r--r--Makefile12
-rw-r--r--README.md7
3 files changed, 18 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index 386eb81..f748260 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,3 @@
*.o
-quartz
+quartz.bin
compile_flags.txt
diff --git a/Makefile b/Makefile
index e6e47be..c9735b6 100644
--- a/Makefile
+++ b/Makefile
@@ -60,7 +60,7 @@ LDFLAGS = -Wl,-rpath,$(BUILD)/lib -Wl,-rpath,$(BUILD)/vcpkg_installed/x64-linux-
SRCDIR = quartz
SRC = $(SRCDIR)/quartz.cpp
OBJ = $(SRC:.cpp=.o)
-BIN = quartz/quartz
+BIN = quartz.bin
all: $(BIN)
@@ -91,10 +91,18 @@ patch:
ln -sf $(ROOT)/quartz $(LADYBIRD)/UI/quartz
ladybird:
+ # cd $(LADYBIRD) && \
+ # cmake --preset Release -DENABLE_QT=OFF -DENABLE_QUARTZ=ON && \
+ # ninja -C Build/release
cd $(LADYBIRD) && \
- cmake --preset Release -DENABLE_QT=OFF -DENABLE_QUARTZ=ON && \
+ CC=clang CXX=clang++ \
+ cmake --preset Release \
+ -DENABLE_QT=OFF \
+ -DENABLE_QUARTZ=ON \
+ -DBUILD_TESTING=OFF && \
ninja -C Build/release
+
clangd:
rm -f compile_flags.txt
for f in $(CXXFLAGS) $(INCS); do echo $$f >> compile_flags.txt; done
diff --git a/README.md b/README.md
index 1866fe7..168e56c 100644
--- a/README.md
+++ b/README.md
@@ -2,6 +2,13 @@
**patches tested for commit `12ff11d9ea74325324692f8c867666078fc017da`**
## prerequisites
+**reccommended you build most/all of ladybird normally first!** my makefile is pretty bad for now.
+this may require qt6 however. be prepared.......
+> `./Meta/ladybird.py run`
+
+
+this will be solved after i get more time to read the CMake files of ladybird.
+
- ladybird source tree (https://github.com/LadybirdBrowser/ladybird)
- sdl3, sdl3_ttf
- c++23 compiler