Use existing tests for appveyor. (#426)
This commit is contained in:
committed by
Andreas Süßenbach
parent
8f3b1d6f01
commit
10aa543b7e
@@ -31,5 +31,8 @@ add_executable(NoExceptions
|
||||
${SOURCES}
|
||||
)
|
||||
|
||||
if (UNIX)
|
||||
target_link_libraries(NoExceptions "-ldl")
|
||||
endif()
|
||||
|
||||
set_target_properties(NoExceptions PROPERTIES FOLDER "Tests")
|
||||
target_link_libraries(NoExceptions "${Vulkan_LIBRARIES}")
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
// Note: this is _no_ functional test!! Don't ever code this way!!
|
||||
|
||||
#define VULKAN_HPP_NO_EXCEPTIONS
|
||||
#define VULKAN_HPP_DISPATCH_LOADER_DYNAMIC 1
|
||||
|
||||
#include "vulkan/vulkan.hpp"
|
||||
#include <iostream>
|
||||
@@ -24,6 +25,8 @@
|
||||
static char const* AppName = "DeviceFunctions";
|
||||
static char const* EngineName = "Vulkan.hpp";
|
||||
|
||||
VULKAN_HPP_DEFAULT_DISPATCH_LOADER_DYNAMIC_STORAGE;
|
||||
|
||||
int main(int /*argc*/, char ** /*argv*/)
|
||||
{
|
||||
vk::ApplicationInfo appInfo(AppName, 1, EngineName, 1, VK_API_VERSION_1_1);
|
||||
|
||||
Reference in New Issue
Block a user