Skip to content

Commit

Permalink
Updated anira submodule to latest tag v0.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
vackva committed Sep 14, 2024
1 parent 02dcc33 commit 4146647
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,11 @@ target_link_libraries(${TARGET_NAME}
juce::juce_recommended_lto_flags
juce::juce_recommended_warning_flags)


if (MSVC)
include(cmake/msvc-support.cmake)
endif()

# ==============================================================================
# Add install target for the plugin
# ==============================================================================
Expand Down
11 changes: 11 additions & 0 deletions cmake/msvc-support.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
foreach(FORMAT IN LISTS FORMATS_TO_BUILD)
string(CONCAT PLUGIN_TARGET ${TARGET_NAME}_${FORMAT})
message(STATUS "${PLUGIN_TARGET}")
message(STATUS "${ANIRA_SHARED_LIBS_WIN}")

add_custom_command(TARGET ${PLUGIN_TARGET}
POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_if_different
${ANIRA_SHARED_LIBS_WIN}
$<TARGET_FILE_DIR:${TARGET_NAME}>/${FORMAT})
endforeach()
2 changes: 1 addition & 1 deletion modules/anira
Submodule anira updated from a8671e to 5dfa33
2 changes: 1 addition & 1 deletion source/ModelConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ static anira::InferenceConfig hybridNNConfig(
10.66f,
0,
true,
0.5f,
0.0f,
false
);

Expand Down

0 comments on commit 4146647

Please sign in to comment.