diff options
author | Vedran Vujinovic <vedran.vujinovic@gmail.com> | 2019-09-04 09:32:10 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-09-24 14:12:43 (GMT) |
commit | 481070a78a90a7e6c0bfc433fec842c78d63d9de (patch) | |
tree | df1a93a8916994e09b78696e8c96a83b0a4e86ea /Tests/VSWinStorePhone/CxxDLL | |
parent | acdb326610416ea3a559740fa79ad807a44838ee (diff) | |
download | CMake-481070a78a90a7e6c0bfc433fec842c78d63d9de.zip CMake-481070a78a90a7e6c0bfc433fec842c78d63d9de.tar.gz CMake-481070a78a90a7e6c0bfc433fec842c78d63d9de.tar.bz2 |
Tests: Teach VSWinStorePhone to verify the content of generated appx/msix
Add a test to verify the content of generated UWP app package - appx/msix.
MSIX format was introduced Visual Studio 2017 version 15.9.0 and
Windows SDK version 17763.
Diffstat (limited to 'Tests/VSWinStorePhone/CxxDLL')
-rw-r--r-- | Tests/VSWinStorePhone/CxxDLL/CMakeLists.txt | 3 | ||||
-rw-r--r-- | Tests/VSWinStorePhone/CxxDLL/cxxdll.cpp | 7 | ||||
-rw-r--r-- | Tests/VSWinStorePhone/CxxDLL/cxxdll.h | 5 |
3 files changed, 15 insertions, 0 deletions
diff --git a/Tests/VSWinStorePhone/CxxDLL/CMakeLists.txt b/Tests/VSWinStorePhone/CxxDLL/CMakeLists.txt new file mode 100644 index 0000000..6bd32a2 --- /dev/null +++ b/Tests/VSWinStorePhone/CxxDLL/CMakeLists.txt @@ -0,0 +1,3 @@ +project(CxxDll CXX) + +add_library(CxxDll SHARED cxxdll.cpp) diff --git a/Tests/VSWinStorePhone/CxxDLL/cxxdll.cpp b/Tests/VSWinStorePhone/CxxDLL/cxxdll.cpp new file mode 100644 index 0000000..d82a792 --- /dev/null +++ b/Tests/VSWinStorePhone/CxxDLL/cxxdll.cpp @@ -0,0 +1,7 @@ +#include "cxxdll.h" +#include <iostream> + +void CxxDllClass::SomeMethod() +{ + std::cout << "CxxDllClass::SomeMethod\n"; +} diff --git a/Tests/VSWinStorePhone/CxxDLL/cxxdll.h b/Tests/VSWinStorePhone/CxxDLL/cxxdll.h new file mode 100644 index 0000000..86edceb --- /dev/null +++ b/Tests/VSWinStorePhone/CxxDLL/cxxdll.h @@ -0,0 +1,5 @@ +class __declspec(dllexport) CxxDllClass +{ +public: + static void SomeMethod(); +}; |