dep: Move WinPixEventRuntime to root
This commit is contained in:
parent
203e71f9fe
commit
817129328b
|
@ -0,0 +1,13 @@
|
||||||
|
add_library(WinPixEventRuntime::WinPixEventRuntime UNKNOWN IMPORTED GLOBAL)
|
||||||
|
|
||||||
|
if("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "arm64")
|
||||||
|
set_target_properties(WinPixEventRuntime::WinPixEventRuntime PROPERTIES
|
||||||
|
IMPORTED_LOCATION "${CMAKE_CURRENT_SOURCE_DIR}/libarm64/WinPixEventRuntime.lib"
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES "${CMAKE_CURRENT_SOURCE_DIR}/include"
|
||||||
|
)
|
||||||
|
else()
|
||||||
|
set_target_properties(WinPixEventRuntime::WinPixEventRuntime PROPERTIES
|
||||||
|
IMPORTED_LOCATION "${CMAKE_CURRENT_SOURCE_DIR}/lib64/WinPixEventRuntime.lib"
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES "${CMAKE_CURRENT_SOURCE_DIR}/include"
|
||||||
|
)
|
||||||
|
endif()
|
|
@ -2,7 +2,7 @@
|
||||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<PropertyGroup Label="UserMacros">
|
<PropertyGroup Label="UserMacros">
|
||||||
<BinaryOutputDir>$(SolutionDir)bin\$(Platform)\</BinaryOutputDir>
|
<BinaryOutputDir>$(SolutionDir)bin\$(Platform)\</BinaryOutputDir>
|
||||||
<WinPixEventRuntimeDir>$(SolutionDir)dep\msvc\winpixeventruntime\</WinPixEventRuntimeDir>
|
<WinPixEventRuntimeDir>$(SolutionDir)dep\winpixeventruntime\</WinPixEventRuntimeDir>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemDefinitionGroup>
|
<ItemDefinitionGroup>
|
||||||
<ClCompile>
|
<ClCompile>
|
|
@ -21,5 +21,5 @@
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
|
|
||||||
<Import Project="..\..\dep\msvc\vsprops\SDL2Compile.props" />
|
<Import Project="..\..\dep\msvc\vsprops\SDL2Compile.props" />
|
||||||
<Import Project="..\..\dep\msvc\winpixeventruntime\WinPixEventRuntime.props" />
|
<Import Project="..\..\dep\winpixeventruntime\WinPixEventRuntime.props" />
|
||||||
</Project>
|
</Project>
|
||||||
|
|
Loading…
Reference in New Issue