Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cmake/winml_cppwinrt.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ function(target_cppwinrt
/metadata_dir ${sdk_metadata_directory}
/W1 /char signed /nomidl /nologo /winrt
/no_settings_comment /no_def_idir /target "NT60"
/I ${CMAKE_CURRENT_BINARY_DIR}/winml_api
/I ${idl_source_directory}
/I ${um_sdk_directory}
/I ${shared_sdk_directory}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,8 @@
<Message Text="$([System.String]::Format('$(WindowsAIBinplaceMessage)', '$(WindowsAIBinary)', '$(OnnxRuntimeBinary)'))" />
<Copy SkipUnchangedFiles="True" SourceFiles="$(WindowsAIBinary);$(OnnxRuntimeBinary)" DestinationFolder="$(OutDir)" />
</Target>

<ItemGroup>
<ReferenceCopyLocalPaths Include="$(WindowsAIBinary);$(OnnxRuntimeBinary)" />
</ItemGroup>
</Project>
3 changes: 2 additions & 1 deletion winml/api/Microsoft.AI.MachineLearning.Experimental.idl
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@

import "Windows.Foundation.idl";
import "dualapipartitionattribute.idl";
import "Windows.AI.MachineLearning.idl";

#include <sdkddkver.h>

#ifdef BUILD_INBOX
import "Windows.AI.MachineLearning.idl";
#define ROOT_NS Windows
#define INBOX_ONLY(x) x
#define OTB_ONLY(x)
#else
import "Microsoft.AI.MachineLearning.idl";
Comment thread
smk2007 marked this conversation as resolved.
#define INBOX_ONLY(x)
#define OTB_ONLY(x) x
#endif
Expand Down