-
-
Notifications
You must be signed in to change notification settings - Fork 646
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated support for windows build + installer (#396)
Added win32build.bat batch file for easy windows builds (need to update QT path variables inside to correct ones in case it does not work)
- Loading branch information
Showing
7 changed files
with
86 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
IDI_ICON1 ICON DISCARDABLE "plotjuggler.ico" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Installer> | ||
<Name>PlotJuggler</Name> | ||
<Version>2.1.4</Version> | ||
<Title>PlotJuggler installer</Title> | ||
<Publisher>Davide Faconti</Publisher> | ||
<StartMenuDir>Applications</StartMenuDir> | ||
<TargetDir>@ApplicationsDir@/PlotJuggler</TargetDir> | ||
<Name>PlotJuggler</Name> | ||
<Version>3.0.7</Version> | ||
<Title>PlotJuggler installer</Title> | ||
<Publisher>Davide Faconti</Publisher> | ||
<StartMenuDir>PlotJuggler</StartMenuDir> | ||
<TargetDir>@ApplicationsDirX64@/PlotJuggler</TargetDir> | ||
<DependsOnLocalInstallerBinary>true</DependsOnLocalInstallerBinary> | ||
<RunProgram>@TargetDir@/PlotJuggler</RunProgram> | ||
</Installer> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
@echo off | ||
cd %~dp0 | ||
SET MINGW_PATH=C:/Qt/Tools/mingw730_64/bin | ||
SET CMAKE_PATH=C:/Qt/Tools/CMake_64/bin | ||
SET CMAKE_PREFIX_PATH=C:/Qt/5.12.10/mingw73_64 | ||
SET PATH=%MINGW_PATH%;%CMAKE_PATH%;%PATH% | ||
SET CMAKE_C_COMPILER=%MINGW_PATH%/gcc.exe | ||
SET CMAKE_CXX_COMPILER=%MINGW_PATH%/g++.exe | ||
|
||
CLS | ||
:MENU | ||
CLS | ||
|
||
ECHO == PLOTJUGGLER BUILDER FOR WINDOWS == | ||
ECHO ------------------------------------- | ||
ECHO 1. COMPILE | ||
ECHO 2. CREATE INSTALLER | ||
ECHO 3. CLEAR BULD FOLDER | ||
ECHO ------------------------------------- | ||
ECHO ==========PRESS 'Q' TO QUIT========== | ||
ECHO. | ||
|
||
SET INPUT= | ||
SET /P INPUT=Please select a number: | ||
|
||
IF /I '%INPUT%'=='1' GOTO Selection1 | ||
IF /I '%INPUT%'=='2' GOTO Selection2 | ||
IF /I '%INPUT%'=='3' GOTO Selection3 | ||
IF /I '%INPUT%'=='Q' GOTO Quit | ||
|
||
CLS | ||
GOTO MENU | ||
|
||
:Selection1 | ||
mkdir build | ||
cd build | ||
cmake -S ".." -G "MinGW Makefiles" | ||
make -j -l 8 | ||
PAUSE | ||
GOTO MENU | ||
|
||
:Selection2 | ||
RMDIR /S /Q %~dp0\installer\io.plotjuggler.application\data | ||
%CMAKE_PREFIX_PATH%\bin\windeployqt.exe --release --dir %~dp0\installer\io.plotjuggler.application\data %~dp0\build\bin\PlotJuggler.exe | ||
xcopy %~dp0\build\bin\*.* %~dp0\installer\io.plotjuggler.application\data /Y /S /f /z | ||
C:\Qt\Tools\QtInstallerFramework\4.0\bin\binarycreator.exe --offline-only -c %~dp0\installer\config.xml -p %~dp0\installer %~dp0\PlotJugglerInstaller.exe | ||
PAUSE | ||
GOTO MENU | ||
|
||
:Selection3 | ||
RMDIR /S /Q build | ||
PAUSE | ||
GOTO MENU | ||
|
||
:Quit | ||
CLS | ||
|
||
ECHO ==============THANKYOU=============== | ||
ECHO ------------------------------------- | ||
ECHO ======PRESS ANY KEY TO CONTINUE====== | ||
|
||
PAUSE>NUL | ||
EXIT |