-
-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scripts/windows-install/createConanDirAndInstallDependencies.bat
- Loading branch information
Showing
9 changed files
with
88 additions
and
19 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,6 +70,11 @@ jobs: | |
|
||
- run: setx QT_QPA_PLATFORM_PLUGIN_PATH "${{ env.Qt5_DIR }}\plugins\platforms\" | ||
|
||
- run: setx QT_QPA_PLATFORM_PLUGIN_PATH "${{ env.Qt5_DIR }}\plugins\platforms\" | ||
- run: setx QTDIR "${{ env.Qt5_DIR }}\5.15.2\msvc2019_64" | ||
|
||
- run: setx QT_QPA_PLATFORM_PLUGIN_PATH "${{ env.Qt5_DIR }}\plugins\platforms\" | ||
|
||
- run: ${{ github.workspace }}/scripts/windows-install/addPathVariables.ps1 | ||
|
||
- run: cd ${{ github.workspace }} | ||
|
@@ -79,5 +84,5 @@ jobs: | |
- name: Uploading exe | ||
uses: actions/[email protected] | ||
with: | ||
path: '${{ github.workspace }}/out/build/windows-default/LibreCAD3**.exe' | ||
path: '${{ github.workspace }}/build/bin/LibreCAD3**.exe' | ||
name: LibreCAD3.exe |
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
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
Submodule tinyspline
updated
89 files
25 changes: 15 additions & 10 deletions
25
scripts/windows-install/buildLibrecadAndCreatePackage.bat
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,25 +1,30 @@ | ||
echo on | ||
cd ${{ github.workspace }} | ||
|
||
pwd | ||
|
||
cmake -S %cd% -G "Visual Studio 17 2022" ^ | ||
-B %cd%\out\build\windows-default ^ | ||
-DCMAKE_TOOLCHAIN_FILE=%cd%\conan_toolchain.cmake ^ | ||
-DCMAKE_VERBOSE_MAKEFILE=TRUE ^ | ||
-B %cd%\build ^ | ||
-DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake ^ | ||
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON ^ | ||
-DWITH_UNITTESTS=OFF ^ | ||
-DWITH_RENDERING_UNITTESTS=OFF ^ | ||
--install-prefix %cd%\installprefix | ||
|
||
rem -DWITH_UNITTESTS=OFF | ||
cd out\build\windows-default | ||
cd build | ||
dir CPack*.cmake | ||
|
||
cmake --build . --config Release | ||
cmake --build . --config Release --target package | ||
|
||
cd bin | ||
cd bin/Release | ||
dir | ||
|
||
WinDeployQt librecad.exe | ||
dir .. | ||
copy ..\*.lua ..\*.json . | ||
where makensis.exe | ||
dir ..\..\CPack*.cmake | ||
|
||
cd .. | ||
|
||
cpack -C RelWithDebInfo | ||
|
||
cpack --verbose -G NSIS --config ..\..\CPackConfig.cmake | ||
copy LibreCAD3-*.exe .. |
1 change: 1 addition & 0 deletions
1
scripts/windows-install/createConanDirAndInstallDependencies.bat
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,4 +1,5 @@ | ||
echo "conan" | ||
pwd | ||
mkdir conan | ||
pushd conan | ||
conan profile detect --force | ||
|
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 |
---|---|---|
|
@@ -3,3 +3,4 @@ pip install boost | |
pip install conan | ||
pip install mkdocs | ||
pip install numpy | ||
pip install numpy |