Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Distribution - remove FreeImage and DevIL from distribution scripts
Browse files Browse the repository at this point in the history
gkv311 committed Jan 16, 2025
1 parent ec958ee commit 9d5da6e
Showing 3 changed files with 0 additions and 21 deletions.
8 changes: 0 additions & 8 deletions distribution/build.bat
Original file line number Diff line number Diff line change
@@ -9,12 +9,8 @@ set "anFFmpeg="
set "anNVAPI="
set "anOpenAL="
set "anOpenVR="
set "aFreeImage="
set "aDevIL="
set "anMsvcr="
set USE_OPENVR=ON
set USE_FREEIMAGE=ON
set USE_DEVIL=ON
set USE_MSVCR=ON
set USE_MONGOOSE=ON
rem Activate notifications about sView updates available on sview.ru
@@ -165,10 +161,6 @@ cmake -G "Ninja" ^
-D OPENAL_DIR:PATH="%anOpenAL%" ^
-D USE_OPENVR:BOOL="%USE_OPENVR%" ^
-D OPENVR_DIR:PATH="%anOpenVR%" ^
-D USE_FREEIMAGE:BOOL="%USE_FREEIMAGE%" ^
-D FREEIMAGE_DIR:PATH="%aFreeImage%" ^
-D USE_DEVIL:BOOL="%USE_DEVIL%" ^
-D DEVIL_DIR:PATH="%aDevIL%" ^
-D USE_MSVCR:BOOL="%USE_MSVCR%" ^
-D MSVCR_DIR:PATH="%anMsvcr%" ^
-B "%aWorkDir%" -S "%aSrcRoot%"
5 changes: 0 additions & 5 deletions distribution/build.iss
Original file line number Diff line number Diff line change
@@ -224,11 +224,6 @@ Source: {#SVIEW_DISTR_PATH}\icons\sView_PNS.ico; DestDir: {app}\icons;
Source: {#SVIEW_DISTR_PATH}\demo.jps; DestDir: {app}; Flags: ignoreversion; Components: StDrawers\StImageViewer
Source: {#SVIEW_DISTR_PATH}\demo_robot.jps; DestDir: {app}; Flags: ignoreversion; Components: StDrawers\StImageViewer
Source: {#SVIEW_DISTR_PATH}\StImageViewer.dll; DestDir: {app}; Flags: 64bit ignoreversion; Components: StCore
; FreeImage library (should be optional)
Source: {#SVIEW_DISTR_PATH}\FreeImage.dll; DestDir: {app}; Flags: 64bit ignoreversion; Components: StDrawers\StImageViewer
; DevIL libraries (should be optional)
Source: {#SVIEW_DISTR_PATH}\DevIL.dll; DestDir: {app}; Flags: 64bit ignoreversion; Components: StDrawers\StImageViewer
Source: {#SVIEW_DISTR_PATH}\ILU.dll; DestDir: {app}; Flags: 64bit ignoreversion; Components: StDrawers\StImageViewer

; StDrawers -> Movie Player
Source: {#SVIEW_DISTR_PATH}\lang\*StMoviePlayer.lng; DestDir: {app}\lang; Flags: ignoreversion recursesubdirs; Components: StCore
8 changes: 0 additions & 8 deletions distribution/msvc_build.bat
Original file line number Diff line number Diff line change
@@ -17,13 +17,9 @@ set "anFFmpeg="
set "anNVAPI="
set "anOpenAL="
set "anOpenVR="
set "aDevIL="
set "aFreeImage="
set "anMsvcr="

set USE_OPENVR=ON
set USE_FREEIMAGE=OFF
set USE_DEVIL=OFF
set USE_MSVCR=OFF

rem Build stages to perform
@@ -135,10 +131,6 @@ if ["%toCMake%"] == ["1"] (
-D OPENAL_DIR:PATH="%anOpenAL%" ^
-D USE_OPENVR:BOOL="%USE_OPENVR%" ^
-D OPENVR_DIR:PATH="%anOpenVR%" ^
-D USE_FREEIMAGE:BOOL="%USE_FREEIMAGE%" ^
-D FREEIMAGE_DIR:PATH="%aFreeImage%" ^
-D USE_DEVIL:BOOL="%USE_DEVIL%" ^
-D DEVIL_DIR:PATH="%aDevIL%" ^
-D USE_MSVCR:BOOL="%USE_MSVCR%" ^
-D MSVCR_DIR:PATH="%anMsvcr%" ^
-B "%aWorkDir%" -S "%aSrcRoot%"

0 comments on commit 9d5da6e

Please sign in to comment.