Skip to content

Commit

Permalink
Feature/jack4all juce winget (#4)
Browse files Browse the repository at this point in the history
* install winget and jack2 on windews. add MSVC include path

* try windows tricks

* HMODULE
  • Loading branch information
dromer authored Dec 5, 2024
1 parent a719e4d commit 15ba6fd
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,12 @@ jobs:
submodules: recursive
fetch-depth: 0

- name: Install winget
uses: Cyberboss/install-winget@v1

- name: Install jack
run: winget install jack2 --disable-interactivity --accept-source-agreements

- name: Create Build Environment
run: cmake -E make_directory ${{github.workspace}}/build

Expand Down Expand Up @@ -230,6 +236,12 @@ jobs:
submodules: recursive
fetch-depth: 0

- name: Install winget
uses: Cyberboss/install-winget@v1

- name: Install jack
run: winget install jack2 --disable-interactivity --accept-source-agreements

- name: Create Build Environment
run: cmake -E make_directory ${{github.workspace}}/build

Expand Down
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ include_directories(/usr/local/include)
link_directories(/usr/local/lib)
endif()

# macOS includes for jack
if(APPLE)
if(MACOS_LEGACY)
include_directories(/usr/local/include)
Expand All @@ -339,6 +340,11 @@ if(APPLE)
endif()
endif()

# Windows include for jack
if(MSVC)
include_directories("C:\\Program Files\\JACK2\\include")
endif()

list(APPEND PLUGDATA_COMPILE_DEFINITIONS JUCE_MODAL_LOOPS_PERMITTED=1)

list(APPEND PLUGDATA_INCLUDE_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/Libraries/ELSE/sfont~/")
Expand Down
2 changes: 1 addition & 1 deletion Libraries/JUCE

0 comments on commit 15ba6fd

Please sign in to comment.