Skip to content

Commit 15ba6fd

Browse files
authored
Feature/jack4all juce winget (#4)
* install winget and jack2 on windews. add MSVC include path * try windows tricks * HMODULE
1 parent a719e4d commit 15ba6fd

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed

.github/workflows/cmake.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,12 @@ jobs:
175175
submodules: recursive
176176
fetch-depth: 0
177177

178+
- name: Install winget
179+
uses: Cyberboss/install-winget@v1
180+
181+
- name: Install jack
182+
run: winget install jack2 --disable-interactivity --accept-source-agreements
183+
178184
- name: Create Build Environment
179185
run: cmake -E make_directory ${{github.workspace}}/build
180186

@@ -230,6 +236,12 @@ jobs:
230236
submodules: recursive
231237
fetch-depth: 0
232238

239+
- name: Install winget
240+
uses: Cyberboss/install-winget@v1
241+
242+
- name: Install jack
243+
run: winget install jack2 --disable-interactivity --accept-source-agreements
244+
233245
- name: Create Build Environment
234246
run: cmake -E make_directory ${{github.workspace}}/build
235247

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,7 @@ include_directories(/usr/local/include)
331331
link_directories(/usr/local/lib)
332332
endif()
333333

334+
# macOS includes for jack
334335
if(APPLE)
335336
if(MACOS_LEGACY)
336337
include_directories(/usr/local/include)
@@ -339,6 +340,11 @@ if(APPLE)
339340
endif()
340341
endif()
341342

343+
# Windows include for jack
344+
if(MSVC)
345+
include_directories("C:\\Program Files\\JACK2\\include")
346+
endif()
347+
342348
list(APPEND PLUGDATA_COMPILE_DEFINITIONS JUCE_MODAL_LOOPS_PERMITTED=1)
343349

344350
list(APPEND PLUGDATA_INCLUDE_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/Libraries/ELSE/sfont~/")

Libraries/JUCE

0 commit comments

Comments
 (0)