diff options
| author | uint <abhinav.prsai@gmail.com> | 2025-12-18 19:03:10 +0000 |
|---|---|---|
| committer | uint <abhinav.prsai@gmail.com> | 2025-12-18 19:08:36 +0000 |
| commit | 4a76f9fbda1c00a6d957e666834ec98a70c85617 (patch) | |
| tree | c37056b3ced179822521a0e0d15313ed5e67843f /quartz/CMakeLists.txt | |
| parent | 5385e7bf5b848d8ecf2478665117eb41e734dde5 (diff) | |
revamp browser, now using sdl3 + ladybird engine
the browser now draws a box with some fairly simple c++ code
SDL3 because its a much clearer API than SDL2
.
.
Diffstat (limited to 'quartz/CMakeLists.txt')
| -rw-r--r-- | quartz/CMakeLists.txt | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/quartz/CMakeLists.txt b/quartz/CMakeLists.txt new file mode 100644 index 0000000..e044721 --- /dev/null +++ b/quartz/CMakeLists.txt @@ -0,0 +1,27 @@ +find_package(SDL3 REQUIRED CONFIG) +find_package(PkgConfig REQUIRED) +pkg_check_modules(SDL3_TTF REQUIRED IMPORTED_TARGET sdl3-ttf) + +add_executable(ladybird + quartz.cpp + engine.cpp + ui.cpp + window.cpp +) + +target_link_libraries(ladybird PRIVATE + AK + LibCore + LibFileSystem + LibGfx + LibImageDecoderClient + LibMain + LibURL + LibWebView + SDL3::SDL3 + PkgConfig::SDL3_TTF +) + +target_include_directories(ladybird PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}) + +create_ladybird_bundle(ladybird) |
