From 3e140ba62fcdae213334f82f873c8fa32af271f8 Mon Sep 17 00:00:00 2001 From: Sergey Podobry Date: Wed, 6 Jul 2022 17:24:54 +0300 Subject: [PATCH] Add nuspec, change C++ runtime library to static --- CMake/DefaultCXX.cmake | 2 +- shapedbyiris.aec3.nuspec | 33 +++++++++++++++++++++++++++++++++ shapedbyiris.aec3.props | 12 ++++++++++++ 3 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 shapedbyiris.aec3.nuspec create mode 100644 shapedbyiris.aec3.props diff --git a/CMake/DefaultCXX.cmake b/CMake/DefaultCXX.cmake index eff0e56..f454040 100644 --- a/CMake/DefaultCXX.cmake +++ b/CMake/DefaultCXX.cmake @@ -6,7 +6,7 @@ if(MSVC) create_property_reader("DEFAULT_CXX_EXCEPTION_HANDLING") create_property_reader("DEFAULT_CXX_DEBUG_INFORMATION_FORMAT") - set_target_properties("${PROPS_TARGET}" PROPERTIES MSVC_RUNTIME_LIBRARY "MultiThreaded$<$:Debug>DLL") + set_target_properties("${PROPS_TARGET}" PROPERTIES MSVC_RUNTIME_LIBRARY "MultiThreaded$<$:Debug>") set_config_specific_property("DEFAULT_CXX_EXCEPTION_HANDLING" "/EHsc") set_config_specific_property("DEFAULT_CXX_DEBUG_INFORMATION_FORMAT" "/Zi") endif() diff --git a/shapedbyiris.aec3.nuspec b/shapedbyiris.aec3.nuspec new file mode 100644 index 0000000..27293fc --- /dev/null +++ b/shapedbyiris.aec3.nuspec @@ -0,0 +1,33 @@ + + + + shapedbyiris.aec3 + $version$ + AEC3 Extracted From WebRTC + WebRTC + https://github.com/shapedbyiris/AEC3 + BSD-3-Clause + false + native log eac3 audio c++ cpp + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/shapedbyiris.aec3.props b/shapedbyiris.aec3.props new file mode 100644 index 0000000..14d9e8b --- /dev/null +++ b/shapedbyiris.aec3.props @@ -0,0 +1,12 @@ + + + + + $(MSBuildThisFileDirectory)../../lib/native/include;$(MSBuildThisFileDirectory)../../lib/native/include/base;$(MSBuildThisFileDirectory)../../lib/native/include/base/abseil;$(MSBuildThisFileDirectory)../../lib/native/include/base/jsoncpp;$(MSBuildThisFileDirectory)../../lib/native/include/base/jsoncpp/include;$(MSBuildThisFileDirectory)../../lib/native/include/base/audio_processing;$(MSBuildThisFileDirectory)../../lib/native/include/base/audio_processing/aec3;%(AdditionalIncludeDirectories) + WEBRTC_WIN;NOMINMAX;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + + + $(MSBuildThisFileDirectory)../../lib/native/$(Platform)-$(Configuration)/AEC3.lib;$(MSBuildThisFileDirectory)../../lib/native/$(Platform)-$(Configuration)/base.lib;$(MSBuildThisFileDirectory)../../lib/native/$(Platform)-$(Configuration)/api.lib;%(AdditionalDependencies) + + + \ No newline at end of file