Skip to content

Commit

Permalink
Added static linking of the windows runtime (#146)
Browse files Browse the repository at this point in the history
* Added static linking of the windows runtime

* Fixed comment style
  • Loading branch information
drowaudio authored Jan 13, 2025
1 parent ed19c2c commit f48a381
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELIST.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# pluginval Change List

### 1.0.5
- Added static linking to the Windows runtime so it should run on more Windows systems (particularly non-dev machines)

### 1.0.4
- Limit auval's stress test to 20 seconds (vs 600) [#135]
- Fixed incorrect "ALL TESTS PASSED" message when validating out of process [#125]
Expand Down
8 changes: 8 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,14 @@ target_compile_definitions(pluginval PRIVATE
JUCE_GUI_BASICS_INCLUDE_XHEADERS=1
VERSION="${CURRENT_VERSION}")

if(MSVC)
# Statically link the runtime libraries
target_compile_options(pluginval PRIVATE
$<$<CONFIG:>:/MT>
$<$<CONFIG:Debug>:/MTd>
$<$<CONFIG:Release>:/MT>)
endif()

target_link_libraries(pluginval PRIVATE
juce::juce_audio_devices
juce::juce_audio_processors
Expand Down

0 comments on commit f48a381

Please sign in to comment.