From 3c760eab51c7159bbcb599ede52b99f698ee19b3 Mon Sep 17 00:00:00 2001 From: anjaldoshi Date: Wed, 13 Jul 2022 18:04:57 -0700 Subject: [PATCH] Bump plugin version to 0.2.0 --- .github/workflows/linux.yml | 2 +- .github/workflows/mac.yml | 2 +- .github/workflows/windows.yml | 2 +- CMakeLists.txt | 2 ++ Source/OpenEphysLib.cpp | 2 +- 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 8ee1ce6..bcd0c8a 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -18,7 +18,7 @@ jobs: run: | sudo apt update cd ../.. - git clone https://github.com/open-ephys/plugin-GUI.git + git clone https://github.com/open-ephys/plugin-GUI.git --branch main sudo ./plugin-GUI/Resources/Scripts/install_linux_dependencies.sh cd plugin-GUI/Build && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release .. - name: build diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml index ac8638e..e8c5d7b 100644 --- a/.github/workflows/mac.yml +++ b/.github/workflows/mac.yml @@ -17,7 +17,7 @@ jobs: - name: setup run: | cd ../.. - git clone https://github.com/open-ephys/plugin-GUI.git + git clone https://github.com/open-ephys/plugin-GUI.git --branch main cd plugin-GUI/Build && cmake -G "Xcode" .. - name: build run: | diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index dd47aa9..ad73e7e 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -20,7 +20,7 @@ jobs: package: "open-ephys-lib" run: | cd ../.. - git clone https://github.com/open-ephys/plugin-GUI.git + git clone https://github.com/open-ephys/plugin-GUI.git --branch main cd plugin-GUI/Build cmake -G "Visual Studio 16 2019" -A x64 .. mkdir Release && cd Release diff --git a/CMakeLists.txt b/CMakeLists.txt index cda5350..f783270 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,6 +10,8 @@ endif() get_filename_component(PROJECT_FOLDER ${CMAKE_CURRENT_SOURCE_DIR} ABSOLUTE) get_filename_component(PLUGIN_NAME ${PROJECT_FOLDER} NAME) +set(CMAKE_OSX_ARCHITECTURES "x86_64" CACHE STRING "Build architecture for Mac OS X" FORCE) + project(OE_PLUGIN_${PLUGIN_NAME}) set(CMAKE_SHARED_LIBRARY_PREFIX "") if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux") diff --git a/Source/OpenEphysLib.cpp b/Source/OpenEphysLib.cpp index b4106bd..45318f2 100644 --- a/Source/OpenEphysLib.cpp +++ b/Source/OpenEphysLib.cpp @@ -38,7 +38,7 @@ extern "C" EXPORT void getLibInfo(Plugin::LibraryInfo* info) { info->apiVersion = PLUGIN_API_VER; info->name = "Crossing Detector"; - info->libVersion = "0.1.1"; + info->libVersion = "0.2.0"; info->numPlugins = NUM_PLUGINS; }