Skip to content

Commit

Permalink
Distribute Matlab files with the Windows installer
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoconni committed Jul 24, 2021
1 parent eb9ffd3 commit 5a85af7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/cpp-python-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ jobs:
cp ..\jsbsim-logo\wizard_installer\small\*.bmp small\.
# Relocate the executables for the installer
cp src\RelWithDebInfo\JSBSim.exe src\.
cp src\RelWithDebInfo\JSBSim.lib src\.
cp utils\aeromatic++\RelWithDebInfo\aeromatic.exe utils\aeromatic++\.
# Get the MSVC C++ DLL
$Paths = $Env:PATH+';'+[System.Environment]::SystemDirectory
Expand Down
7 changes: 7 additions & 0 deletions JSBSim.iss.in
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ WizardSmallImageFile=small\*.bmp
[Components]
Name: "executables"; Description: "JSBSim and aeromatic executables"; Types: full compact
Name: "data"; Description: "JSBSim scripts and aircraft data"; Types: full
Name: "devfiles"; Description: "JSBSim development files (headers and C++ library)"; Types: full
Name: "devfiles\matlab"; Description: "JSBSim files to build an interface to Matlab"; Types: full

[Files]
Source: "${CMAKE_BINARY_DIR}\src\JSBSim.exe"; DestDir: "{app}"; Components: executables
Expand All @@ -25,3 +27,8 @@ Source: "${CMAKE_SOURCE_DIR}\engine\*.xml"; DestDir: "{app}\engine"; Components:
Source: "${CMAKE_SOURCE_DIR}\scripts\*.xml"; DestDir: "{app}\scripts"; Components: data
Source: "${CMAKE_SOURCE_DIR}\systems\*.xml"; DestDir: "{app}\systems"; Components: data
Source: "${CMAKE_SOURCE_DIR}\utils\aeromatic++\samples\*.param"; DestDir: "{app}\aeromatic++\samples"; Components: data
Source: "${CMAKE_BINARY_DIR}\src\JSBSim.lib"; DestDir: "{app}\lib"; Components: devfiles
Source: "${CMAKE_SOURCE_DIR}\src\*.h"; DestDir: "{app}\include"; Flags: recursesubdirs; Components: devfiles
Source: "${CMAKE_SOURCE_DIR}\matlab\*.cpp"; DestDir: "{app}\matlab"; Components: devfiles\matlab
Source: "${CMAKE_SOURCE_DIR}\matlab\*.h"; DestDir: "{app}\matlab"; Components: devfiles\matlab
Source: "${CMAKE_SOURCE_DIR}\matlab\*.m"; DestDir: "{app}\matlab"; Components: devfiles\matlab

0 comments on commit 5a85af7

Please sign in to comment.