Skip to content

Commit

Permalink
Final Lin
Browse files Browse the repository at this point in the history
  • Loading branch information
baconpaul committed Apr 23, 2024
1 parent 1b3398a commit dd3a464
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build-daw-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ jobs:
- name: Build project
run: |
cmake -S . -B ./build -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" -DBUILD_JUCE_PLUGIN=TRUE
cmake --build ./build --config Release --target awcons-installer
cmake -S . -B ./build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" -DBUILD_JUCE_PLUGIN=TRUE
cmake --build ./build --config Debug --target awcons-installer
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
path: build/installer
name: dawplugin-${{ matrix.platform }}
7 changes: 7 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
cmake_minimum_required(VERSION 3.16)
cmake_policy(SET CMP0091 NEW)
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.9" CACHE STRING "Minimum OS X deployment version")
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")

project(Airwin2Rack VERSION 1.0 LANGUAGES C CXX)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
set(CMAKE_CXX_VISIBILITY_PRESET hidden)
set(CMAKE_VISIBILITY_INLINES_HIDDEN ON)


option(BUILD_JUCE_PLUGIN "Build a JUCE plugin" OFF)
option(BUILD_RACK_PLUGIN "Build a VCV Rack plugin" OFF)
Expand Down
2 changes: 1 addition & 1 deletion cmake/basic-installer.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ if (APPLE)
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
COMMAND ${CMAKE_COMMAND} -E make_directory installer
COMMAND ${CMAKE_SOURCE_DIR}/scripts/installer_mac/make_installer.sh "Airwindows Consolidated" ${CMAKE_BINARY_DIR}/awcons-products ${CMAKE_SOURCE_DIR}/res/installer_mac ${CMAKE_BINARY_DIR}/installer "${AWCONS_DATE}-${VERSION_CHUNK}"
COMMAND zip -r ${AWCONS_ZIP} ${AWCONS_PRODUCT_DIR}/
COMMAND zip -r installer/${AWCONS_ZIP} ${AWCONS_PRODUCT_DIR}/
)
elseif (WIN32)
message(STATUS "Configuring for Windows installer")
Expand Down

0 comments on commit dd3a464

Please sign in to comment.