Skip to content

Commit

Permalink
update bootstrap scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
MoAlyousef committed Sep 21, 2023
1 parent ea4d7f9 commit 9bc1844
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 10 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ install(
include(GNUInstallDirs)

if(UNIX AND NOT APPLE)
string(APPEND pc_req_private " x11 xinerama xcursor xfixes xext xrender xft fontconfig libjpeg libpng zlib cairo pango pangoxft pangocairo gobject-2.0 wayland-client wayland-cursor xkbcommon")
string(APPEND pc_req_private " x11 xinerama xcursor xfixes xext xrender xft fontconfig cairo pango pangoxft pangocairo gobject-2.0 wayland-client wayland-cursor xkbcommon")
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
string(APPEND pc_libs_private " -ldbus-1 -lsupc++ -pthread")
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
Expand Down
9 changes: 6 additions & 3 deletions scripts/bootstrap_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ cmake -B bin -S . \
-DOPTION_BUILD_PDF_DOCUMENTATION=OFF \
-DOPTION_USE_PANGO=ON \
-DOPTION_USE_CAIRO=ON \
-DOPTION_USE_WAYLAND=OFF \
-DFLTK_BUILD_FLUID=OFF
-DOPTION_ALLOW_GTK_PLUGIN=OFF \
-DFLTK_BUILD_FLUID=OFF \
-DFLTK_BUILD_FLTK_OPTIONS=OFF

sudo cmake --build bin --parallel --target install
cmake --build bin --parallel

sudo cmake --install bin
7 changes: 5 additions & 2 deletions scripts/bootstrap_linux_with_gl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ cmake -B bin -S . \
-DOPTION_BUILD_PDF_DOCUMENTATION=OFF \
-DOPTION_USE_PANGO=ON \
-DOPTION_USE_CAIRO=ON \
-DOPTION_USE_WAYLAND=OFF \
-DFLTK_BUILD_FLUID=OFF
-DOPTION_ALLOW_GTK_PLUGIN=OFF \
-DFLTK_BUILD_FLUID=OFF \
-DFLTK_BUILD_FLTK_OPTIONS=OFF

cmake --build bin --parallel

sudo cmake --install bin
7 changes: 5 additions & 2 deletions scripts/bootstrap_macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ cmake -B bin -S . \
-DOPTION_LARGE_FILE=ON \
-DOPTION_BUILD_HTML_DOCUMENTATION=OFF \
-DOPTION_BUILD_PDF_DOCUMENTATION=OFF \
-DFLTK_BUILD_FLUID=OFF
-DFLTK_BUILD_FLUID=OFF \
-DFLTK_BUILD_FLTK_OPTIONS=OFF

sudo cmake --build bin --parallel --target install
sudo cmake --build bin --parallel

sudo cmake --install bin
7 changes: 5 additions & 2 deletions scripts/bootstrap_windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ cmake -B bin -S . \
-DOPTION_BUILD_HTML_DOCUMENTATION=OFF \
-DOPTION_BUILD_PDF_DOCUMENTATION=OFF \
-GNinja \
-DFLTK_BUILD_FLUID=OFF
-DFLTK_BUILD_FLUID=OFF \
-DFLTK_BUILD_FLTK_OPTIONS=OFF

cmake --build bin --target install --config Release
cmake --build bin --config Release

sudo cmake --install bin

0 comments on commit 9bc1844

Please sign in to comment.