mirror of
https://github.com/mii443/libdatachannel.git
synced 2025-08-22 15:15:28 +00:00
Add uwp resources that stops uwp dinging with an error dialog for datachannel-tests.
This commit is contained in:
@ -127,6 +127,16 @@ set(TESTS_SOURCES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/test/benchmark.cpp
|
||||
)
|
||||
|
||||
set(TESTS_UWP_RESOURCES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/test/uwp/Logo.png
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/test/uwp/package.appxManifest
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/test/uwp/SmallLogo.png
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/test/uwp/SmallLogo44x44.png
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/test/uwp/SplashScreen.png
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/test/uwp/StoreLogo.png
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/test/uwp/Windows_TemporaryKey.pfx
|
||||
)
|
||||
|
||||
set(CMAKE_THREAD_PREFER_PTHREAD TRUE)
|
||||
set(THREADS_PREFER_PTHREAD_FLAG TRUE)
|
||||
find_package(Threads REQUIRED)
|
||||
@ -284,7 +294,7 @@ endif()
|
||||
|
||||
# Tests
|
||||
if(NOT NO_TESTS)
|
||||
add_executable(datachannel-tests ${TESTS_SOURCES})
|
||||
add_executable(datachannel-tests ${TESTS_SOURCES} ${TESTS_UWP_RESOURCES})
|
||||
set_target_properties(datachannel-tests PROPERTIES
|
||||
VERSION ${PROJECT_VERSION}
|
||||
CXX_STANDARD 17)
|
||||
|
BIN
test/uwp/Logo.png
Normal file
BIN
test/uwp/Logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 488 B |
BIN
test/uwp/SmallLogo.png
Normal file
BIN
test/uwp/SmallLogo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 167 B |
BIN
test/uwp/SmallLogo44x44.png
Normal file
BIN
test/uwp/SmallLogo44x44.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 265 B |
BIN
test/uwp/SplashScreen.png
Normal file
BIN
test/uwp/SplashScreen.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 909 B |
BIN
test/uwp/StoreLogo.png
Normal file
BIN
test/uwp/StoreLogo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 227 B |
BIN
test/uwp/Windows_TemporaryKey.pfx
Normal file
BIN
test/uwp/Windows_TemporaryKey.pfx
Normal file
Binary file not shown.
42
test/uwp/package.appxManifest
Normal file
42
test/uwp/package.appxManifest
Normal file
@ -0,0 +1,42 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Package
|
||||
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
|
||||
xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest"
|
||||
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
|
||||
xmlns:desktop4="http://schemas.microsoft.com/appx/manifest/desktop/windows10/4"
|
||||
xmlns:iot2="http://schemas.microsoft.com/appx/manifest/iot/windows10/2"
|
||||
IgnorableNamespaces="uap mp">
|
||||
|
||||
<Identity Name="7D85E652-0312-3746-8F5A-315F52839776" Publisher="CN=CMake" Version="1.0.0.0" />
|
||||
<mp:PhoneIdentity PhoneProductId="7D85E652-0312-3746-8F5A-315F52839776" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
|
||||
<Properties>
|
||||
<DisplayName>datachannel-tests</DisplayName>
|
||||
<PublisherDisplayName>CMake</PublisherDisplayName>
|
||||
<Logo>StoreLogo.png</Logo>
|
||||
</Properties>
|
||||
<Dependencies>
|
||||
<TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.0.0" MaxVersionTested="10.0.0.0" />
|
||||
</Dependencies>
|
||||
<Resources>
|
||||
<Resource Language="x-generate" />
|
||||
</Resources>
|
||||
<Applications>
|
||||
<Application
|
||||
Id="App"
|
||||
Executable="datachannel-tests.exe"
|
||||
EntryPoint="datachannel-tests.App"
|
||||
desktop4:Subsystem="console"
|
||||
desktop4:SupportsMultipleInstances="true"
|
||||
iot2:Subsystem="console"
|
||||
iot2:SupportsMultipleInstances="true">
|
||||
<uap:VisualElements
|
||||
DisplayName="datachannel-tests"
|
||||
Description="datachannel-tests"
|
||||
BackgroundColor="#336699"
|
||||
Square150x150Logo="Logo.png"
|
||||
Square44x44Logo="SmallLogo44x44.png">
|
||||
<uap:SplashScreen Image="SplashScreen.png" />
|
||||
</uap:VisualElements>
|
||||
</Application>
|
||||
</Applications>
|
||||
</Package>
|
Reference in New Issue
Block a user