Skip to content

Commit 28568ed

Browse files
committed
Merge branch 'develop' of https://github.com/csound/plugins into develop
2 parents 028c6e8 + eb5f17f commit 28568ed

3 files changed

Lines changed: 105 additions & 0 deletions

File tree

buildWindows.sh

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#Simple script to build plugins on Windows. Modify each of the paths below for your own needs..
2+
3+
cd build
4+
cmake -DFLTK_BASE_LIBRARY_DEBUG=../../../../vcpkg/installed/x64-windows-csound/lib/fltkd.lib \
5+
-DFLTK_BASE_LIBRARY_RELEASE=../../vcpkg/installed/x64-windows-csound/lib/fltk.lib \
6+
-DFLTK_INCLUDE_DIR=../../vcpkg/packages/fltk_x64-windows-csound/include \
7+
-DFLTK_FLUID_EXECUTABLE=../../vcpkg/installed/x64-windows-csound/tools/fluidsynth/fluidsynth.exe \
8+
-DFLTK_FORMS_LIBRARY_RELEASE=../../vcpkg/installed/x64-windows-csound/lib/fltk_forms.lib \
9+
-DFLTK_IMAGES_LIBRARY_RELEASE=../../vcpkg/installed/x64-windows-csound/lib/fltk_images.lib \
10+
-DABLETON_LINK_HOME=D:/sourcecode/link \
11+
-DPNG_PNG_INCLUDE_DIR=../../vcpkg/installed/x64-windows-csound/include \
12+
-DPNG_LIBRARY_RELEASE=C:/Python36/DLLs/png.lib \
13+
-DEIGEN3_INCLUDE_DIR=D:/sourcecode/eigen-3.4-rc1 \
14+
-DFAUST_INCLUDE_DIR_HINT="C:/Program Files/Faust/include" \
15+
-DFAUST_LIB_DIR_HINT="C:/Program Files/Faust/lib" \
16+
-DBUILD_FAUST_OPCODES=ON ..
17+
18+
cmake --build . --config Release
19+
20+
21+

installer/win64/Installer.iss

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
; Cabbage Installer Script, Copyright Rory Walsh 2017.
2+
3+
;swap this with plugin name
4+
#define MyAppName "Csound Plugins"
5+
#define Manufacturer "Csound"
6+
#define OPVERSION "1.0"
7+
8+
[Setup]
9+
; NOTE: The value of AppId uniquely identifies this application.
10+
; Do not use the same AppId value in installers for other applications.
11+
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
12+
AppId={{0E50FA48-4C41-4D27-A742-C77D1A3A3905}
13+
AppName={#MyAppName}
14+
AppVersion={#OPVERSION}
15+
DefaultDirName={localappdata}\csound\6.0\plugins64
16+
DisableDirPage=no
17+
DisableProgramGroupPage=yes
18+
UsePreviousAppDir=no
19+
20+
;if you want to add a license..
21+
;LicenseFile= "../LICENSE"
22+
23+
;swap this with plugin name
24+
OutputBaseFilename=Csound6-Plugins-Windows_x86_64-{#OPVERSION}
25+
26+
;to add install icon
27+
;SetupIconFile=icon.ico
28+
Compression=lzma
29+
SolidCompression=yes
30+
ChangesEnvironment=yes
31+
32+
33+
[Components]
34+
Name: "core"; Description: "Install all plugins"; Types: full custom; Flags: fixed
35+
36+
[Languages]
37+
Name: "english"; MessagesFile: "compiler:Default.isl"
38+
Name: "french"; MessagesFile: "compiler:Languages\French.isl"
39+
Name: "german"; MessagesFile: "compiler:Languages\German.isl"
40+
Name: "norwegian"; MessagesFile: "compiler:Languages\Norwegian.isl"
41+
42+
; add files - dlls go standard location, or one of the users choosing, csd and other reousrce go to program data
43+
[Files]
44+
Source: "../../build\AbletonLinkOpcodes\Release\ableton_link_opcodes.dll"; DestDir: "{app}\plugins64\"; Flags: ignoreversion; Components: core; Permissions: users-full;
45+
Source: "../../build\chua\Release\chua.dll"; DestDir: "{app}\plugins64\"; Flags: ignoreversion; Components: core; Permissions: users-full;
46+
Source: "../../build\faustcsound\Release\faustcsound.dll"; DestDir: "{app}\plugins64\"; Flags: ignoreversion; Components: core; Permissions: users-full;
47+
Source: "../../build\image\Release\image.dll"; DestDir: "{app}\plugins64\"; Flags: ignoreversion; Components: core; Permissions: users-full;
48+
Source: "../../build\py\Release\py.dll"; DestDir: "{app}\plugins64"; Flags: ignoreversion; Components: core; Permissions: users-full;
49+
Source: "../../build\widgets\Release\widgets.dll"; DestDir: "{app}\plugins64\"; Flags: ignoreversion; Components: core; Permissions: users-full;
50+
Source: "C:\Program Files\Faust\lib\faust.dll"; DestDir: "{autopf64}\Csound6_x64\bin\"; Flags: ignoreversion; Components: core; Permissions: users-full;
51+
52+
53+
[Tasks]
54+
;Name: modifypath; Description: &Add application directory to your PATH environment variable (recommended);
55+
56+
[Code]
57+
var
58+
NewPage: TWizardPage;
59+
60+
const
61+
installerMessage =
62+
'This installer will install the Python, Faust, Image, Chua, FLTK and Ableton Link ' + #13#10 +
63+
'plugin opcodes for Csound.' + #13#10 + #13#10 +
64+
'Opcodes will be installed to C:\Users\<name>\AppData\Local\csound\6.0\plugins64' + #13#10 +
65+
'' + #13#10 +
66+
'Csound should detect and load these plugins whenever it runs. The Faust library will' + #13#10 +
67+
'be installed to C:/Program Files/Csound_x64/bin. If you do not have Csound installed' + #13#10 +
68+
'at this location, please move the faust.dll file after installation';
69+
70+
71+
procedure InitializeWizard();
72+
var
73+
DescLabel: TNewStaticText ;
74+
begin
75+
NewPage := CreateCustomPage(wpWelcome, 'Csound Plugins Installer',
76+
'')
77+
DescLabel := TNewStaticText .Create(NewPage);
78+
DescLabel.AutoSize := True
79+
DescLabel.Width := NewPage.SurfaceWidth;
80+
DescLabel.WordWrap := True
81+
DescLabel.Parent := NewPage.Surface;
82+
DescLabel.Caption := installerMessage;
83+
end;
84+
9.05 MB
Binary file not shown.

0 commit comments

Comments
 (0)