Skip to content

Commit

Permalink
Push dexed version
Browse files Browse the repository at this point in the history
  • Loading branch information
asb2m10 committed Apr 9, 2024
1 parent 7e6063c commit 3b8dfbf
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 12 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/project-pipeline.yml
Expand Up @@ -110,15 +110,13 @@ jobs:
else
echo "BUILD_TYPE=Debug" >> "$GITHUB_ENV"
echo "BUILD_VERSION=$GITHUB_REF_NAME" >> "$GITHUB_ENV"
echo "CMAKE_CXX_FLAGS='-D DEXED_ID=\"$BUILD_VERSION\"'" >> "$GITHUB_ENV"
fi
echo "BUILD PARM =========="
cat $GITHUB_ENV
- name: Build
run: |
cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }}
cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} -DCMAKE_CXX_FLAGS=-DDEXED_ID=${{ env.BUILD_VERSION }}"
cmake --build ${{github.workspace}}/build --config ${{ env.BUILD_TYPE }}
- name: Show
Expand Down
5 changes: 5 additions & 0 deletions README.md
Expand Up @@ -16,6 +16,11 @@ the original machine.
Dexed is licensed on the GPL v3. The msfa component (acronym for music synthesizer for android, see msfa
in the source folder) stays on the Apache 2.0 license to able to collaborate between projects.

Dexed Forks
-----------
* [MiniDexed](https://github.com/probonopd/MiniDexed) Run a DX7 bare metal Raspberry Pi
* [SIMD-optimized](https://github.com/risicle/dexed/tree/ris-highway) SIMD optimized version with [highway](https://github.com/google/highway/tree/master)

Changelog
---------
#### Version 0.9.7 (IN DEVELOPMENT)
Expand Down
6 changes: 4 additions & 2 deletions Resources/Installers/Windows/dexed.iss
@@ -1,6 +1,6 @@
[Setup]
AppName=Dexed
AppVersion=0.9.6
AppVersion=0.9.7
DefaultDirName={commonpf64}\Dexed
DefaultGroupName=Dexed
Compression=lzma2
Expand All @@ -18,11 +18,13 @@ Name: "custom"; Description: "Custom installation"; Flags: iscustom

[Components]
Name: "app"; Description: "Standalone application (.exe)"; Types: full custom;
Name: "vst3_64"; Description: "64-bit VST3 Plugin (.dll)"; Types: full custom;
Name: "vst3_64"; Description: "64-bit VST3 Plugin"; Types: full custom;
Name: "clap"; Description: "64-bit CLAP Plugin"; Types: full custom;

[Files]
Source: "Dexed.exe"; DestDir: "{app}"; Components:app; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "Dexed.vst3"; DestDir: "{commoncf64}\VST3"; Components:vst3_64; Flags: ignoreversion
Source: "Dexed.clap"; DestDir: "{commoncf64}\CLAP"; Components:clap; Flags: ignoreversion

[Icons]
Name: "{group}\Dexed"; Filename: "{app}\Dexed.exe"
Expand Down
9 changes: 4 additions & 5 deletions Source/Dexed.h
Expand Up @@ -23,19 +23,18 @@

void dexed_trace(const char *source, const char *fmt, ...);

#ifndef DEXED_ID
#define DEXED_ID "DEVBUILD"
#endif
#define __QUOTE(name) #name
#define __STR(macro) __QUOTE(macro)

#ifdef DEBUG
#define DEXED_VERSION DEXED_ID " DEBUG"
#define DEXED_VERSION __STR(DEXED_ID) " DEBUG"
#ifdef _MSC_VER
#define TRACE(fmt, ...) dexed_trace(__FUNCTION__,fmt,##__VA_ARGS__)
#else
#define TRACE(fmt, ...) dexed_trace(__PRETTY_FUNCTION__,fmt,##__VA_ARGS__)
#endif
#else
#define DEXED_VERSION DEXED_ID
#define DEXED_VERSION __STR(DEXED_ID)
#define TRACE(fmt, ...)
#endif

Expand Down
2 changes: 1 addition & 1 deletion Source/GlobalEditor.cpp
Expand Up @@ -96,7 +96,7 @@ class AboutBox : public DialogWindow {
g.setFont(20);
g.setColour(Colour(0xFFFFFFFF));
const char *credits = "Version " DEXED_VERSION " build date: " __DATE__ "\n"
"This software is released under the GPL V3.\n\n"
"This software is released under the GPL V3\n\n"
"DSP Engine: orignal project (msfa) Raph Levin, enhancements Pascal Gauthier\n"
"UI Programming: Pascal Gauthier\n"
"UI Design: AZur Studio\n\n"
Expand Down
2 changes: 1 addition & 1 deletion libs/JUCE
Submodule JUCE updated 1250 files

0 comments on commit 3b8dfbf

Please sign in to comment.